Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > webservice-call / keepalive false/ integrated authentication

Reply
Thread Tools

webservice-call / keepalive false/ integrated authentication

 
 
Tapio Kulmala
Guest
Posts: n/a
 
      12-29-2006
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java - Integrated Windows Authentication - NTLM Authentication Forwarding Will Java 5 12-03-2005 01:00 AM
Cisco 11500 CSS http keepalive check for web content? RT Cisco 0 11-23-2004 11:38 PM
SQL integrated authentication when using forms authentication Brett Smith ASP .Net 2 10-26-2004 02:15 PM
GRE Tunnel+IPSEC+Keepalive ArthurLange Cisco 0 04-27-2004 05:01 AM
Basic Authentication v. Integrated Windows Authentication w/ Delegation Mark ASP .Net 0 01-20-2004 03:13 PM



Advertisments