http500 means Internal Server error.
Appearantly on the server that runs the web service, an exception has
occured in the Web Service code.
Check the event log in the Web Service server: there might be an
explanation of the internal error.
If not, change web.config of the webservice en turn off the custom errors
(default is RemoteOnly)
Or, catch the unhandled exception in global.asax of the web service:
protected void Application_Error(Object sender, EventArgs e)
{
Exception objErr = Server.GetLastError().GetBaseException();
string err = "Error Caught in Application_Error event\n" +
"Error in: " + Request.Url.ToString() +
"\nError Message:" + objErr.Message.ToString()+
"\nStack Trace:" + objErr.StackTrace.ToString();
// write log to something, like event log
...
}
Martijn de Haas, http://www.artifactory.nl
On Mon, 15 Mar 2004 21:35:39 -0500, Robert Slaney <[EMAIL PROTECTED]>
wrote:
>One client is receiving an exception "The underlying connection was closed:
>An unexpected error occurred on a receive." when the webservice takes
>longer than 30 seconds.
>
>Other clients have not experienced this. If I look in the IIS logs, the
>execution time for the request is longer than 30 seconds, but returns with
>a 500 HTTP status.
>
>I have played around with the HTTP Keep-Alive setting on the client side,
>and synch and asynch versions both exhibit that same behaviour.
>
>Has anyone has this problem before ?
>
>===================================
>This list is hosted by DevelopMentor� http://www.develop.com
>Some .NET courses you may be interested in:
>
>NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
>http://www.develop.com/courses/gaspdotnetls
>
>View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com