webservice-call / keepalive false/ integrated authentication

T

Tapio Kulmala

I'm having nasty problems with one of out werbservices (W2003Server, .NET1.1
SP1 ). The clent receives an error

System.Net.WebException: The underlying connection was closed: An unexpected
error occurred on a send.

The problem occurs only intermittently but incurs serious problems in our
application.

I found multiple references to this same problem. Most of them instructed to
turn keepalive off with a code like this:

(C#)
protected override WebRequest GetWebRequest(Uri uri)
{
HttpWebRequest webRequest = (HttpWebRequest) base.GetWebRequest(uri);
webRequest.KeepAlive = false;
return webRequest;
}

Unfortunately i can't use this solution because it breaks down the
authentication mechanism of the webservice call.

Has anybody solved this problem yet?

Any suggestions will be gratefully accepted.

Tapio
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top