I'm writing server-side programs in PHP for an iPhone app. And I have no iPhone. :P
The iPhone app requests XML files from the site whenever a user runs the iPhone app. You may visit http://www.appvee.com/iphone/ads or http://www.appvee.com/iphone/latest for the XML files.
And a message box will show up with the following error message...
private string? typeOfContract
{
get { return (string?)ViewState["typeOfContract"]; }
set { ViewState["typeOfContract"] = value; }
}
Later in the code I use it like this:
typeOfContract = Request.QueryString["type"];
I am getting the following error at the declaration of typeOfContract line stating "The t...
Hi all,
I'm trying to use a static library created by me in Visual C++ 2005 (unmanaged C++). I declare one function "int myF(int a);" into a .h file, I implement it in a .cpp file, I compile it - the .lib file is produced.
I create a new project (a separate solution) in VC++ 2005 (also native C++), I add the paths for the include file ...
I'm using ASP.NET WebClient.DownloadFile(url) to obtain images from the Image Servers of several of our clients. The 'url' is usually simple, like "http://somewhere.com/images/image01.jpg".
This works great for 99% of our clients. But one is giving me a "An existing connection was forcibly closed by the remote host". Every time.
I tri...
When I try to test the AutoLotWCFService using "wcftestclient", I get the following error. What am I doing wrong? Any insight will help. This is a simple Web Service that has wshttpbinding with interface contract and the implementation in the service. Here is the long error message: The Web.Config file has 2 endpoints - one for Web Servi...
We've just "upgraded" our production database server from 32-bit to 64-bit. It's running SQL Server 2005 Standard on Windows Server 2003. During the night after the upgrade the server was unavailable for nearly an hour - client requests were timing out. The problem then seemed to fix itself. The only clue I have as to the problem is what...
I need to do some work with a backup WSS .dat file and I'm having real trouble making it do anything.
I've got it installed through stsadm and that appears to have gone smoothly, but the site now redirects me to an error page - just the classic "File Not Found" one, but in the URL it suggests the errortext would be "Class not Registered...
atoi() is giving me this error:
error C2664: 'atoi' : cannot convert parameter 1 from 'char' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
from this line:
int pid = atoi( token.at(0) );
where token is a vector
how can i go around this?
...
Does anyone know how to decipher a .NET Runtime Event Id 5000 error? I have run that's logged as:
P1: <assembly name>,exe
P2: 2.1.4.1 (assembly version)
P3: 48b2b154
P4: System
P5: 2.0.0.0
P6: 471ebf0d
P7: 575
P8: 1d
P9: n3ctrye2kn3c34sgl4zqyrbfte4m13nb
P10: NIL
I assume those are either the register values of the CLR VM, or ...
I've a small project that I want to share with a few others on a machine that we all have access to. I created a bare copy of the local repo with
git clone --bare --no-hardlinks path/to/.git/ repoToShare.git
I then moved repoToShare.git to the server.
I can check it out with the following:
git clone ssh://user@address/opt/gitroot/re...
I have done a few silly things in my time as a developer and have therefore learnt the hard way in some respects. Here are a few examples:
Missing out the WHERE clause in a DELETE tableName sql statement.
No error handling in an application that was using files & db connections.
Releasing an application without testing (a...
Im just writing a small Ajax framework for re-usability in small projects and i've hit a problem. Basically i get a 'NS_ERROR_ILLEGAL_VALUE' error while sending the request and i've no idea what is happening.
The HTML Page
(trimmed but shows the error)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml...
"To help protect your security,
Explorer has restricted this webpage
from running scripts or ActiveX
controls that could access your
computer"
Whenever I add flash movies or javascript code this message will show. It also shows for somebody else, so how do I get rid of this message? If I load or access some other website whi...
We are running our Junit 4 test suite against Weblogic 9 in front of an Oracle 10 database (using Hudson as a continuous integration server) and occasionally we will get an ORA-12519 crash during script teardown. However, the error is very intermittent:
It usually happens for the same Test class
It doesn't always happen for the sa...
Does some article or proof exist that .NET applications are immune to low level errors?
I'm talking about the classic pointer errors we can see in a C++ application, memory overflow, problems from the Intel DEP and so on.
I'm talking about .NET applications that do not use "unsafe" code, from what is my experience in this case only pr...
I getting the following error when I try to connect to my server app using remoting:
A problem seems to have occured whilst connecting to the remote server:
Server encountered an internal error. For more information, turn off customErrors in the server's .config file.
This is the code on my server app:
TcpChannel tcpChannel = ne...
When a user comes across your site's 404 File Not Found error page, it is most likely not what they were looking for. Here, you have the opportunity to turn a dead end into a resource that can help your visitor find whatever they were looking for.
If you were going to create the perfect 404 File Not Found error page, what would it do? W...
I was trying to compile a program using an external compiled object coreset.o. I wrote the public01.c test file and my functions are in computation.c, both of which compiles. However its failing on linking it together. What might be the problem?
gcc -o public01.x public01.o computation.o coreset.o
ld: fatal: file coreset.o: wrong ELF...
I have a Makefile building many C files with long long command lines and we've cleaned up the output by having rules such as:
.c${MT}.doj:
@echo "Compiling $<";\
$(COMPILER) $(COPTS) -c -o $@ $<
Now this is great as the @ suppresses the compilation line being emitted.
But when we get an error, all we get is the error message, no c...
I get the warning "childNodes is null or not an object' with different line numbers, depending on which version of the library I reference (I've tried about three different versions of 1.2.6). Consequently, I get jack for jQuery intellisense.
I can hack this to get it to work, but I'd rather not as I don't understand the full implicati...