I'm receiving one of the following errors when trying to connect to the server:
The underlying connection was closed: Unable to connect to the remote server.
Solution: Check your URL, port and routing to your server.
http://schemas.xmlsoap.org/soap/envelope/:Server, Agent responded with error
Details:
2704
Authentication failure - either user name or password is incorrect
Solution: Check your login and password.
Somewhere in the middle of an operation, I get the following error:
http://schemas.xmlsoap.org/soap/envelope/:Server, Agent responded with error
Details:
1004
Error invoking vzctl utility: Container is already running
Solution: Check the state of your Container that is used for the current operation. In the example above, you try to start a Container and get the error message. This kind of error may occur when you are starting a Container that is already in the "running" state.
I'm using SOAP with .NET Web Services and I get the following error:
An unhandled exception of type 'System.Net.WebException' occurred in system.Web.services.dll Additional information: The operation has timed-out.
Solution: .NET SP1 has the default timeout value for the XML Web service calls set to 100000 ms. To avoid this problem, set the appropriate timeout value or set the timeout value to infinite, as shown in the following example:
MyService service1 = new MyService();
// Infinite timeout.
service1.Timeout = -1;
// The timeout is set to 10 minutes.
service1.Timeout = 10 * 60 * 1000;
Microsoft Visual C# .NET 2005 does not compile SOAP applications in Release mode.
When attempting to perform a Release build, the sgen.exe
throws Out Of Memory
exceptions.
This is a known defect in Microsoft Sgen tool. To fix this problem, try setting the option Project > Properties > Build > Generate serialization assembly to Off
to avoid calling sgen.exe
.