An Unexpected error occurred on a send

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got a C# windows app that passes a Dataset to a webservice, which
handles the DB operations. Intermittenly, I get
"System.Web.Services: The underlying connection was closed; an unexpected
error occurred on a send"

I'm running IIS 5.0 on the webserver, .NET Framework 1.1 with Service Pack 1
on the web server and every client. I've tried overriding the GetWebRequest
method in the generated proxy class for my webservice, but I still get that
error message. Anybody have any ideas?
 
Slylos,

It sounds like a connectivity problem. You aren't seeing an error on
the server, right? Perhaps it has something to do with the connection
between the proxy and the server (oh, and you shouldn't have to override the
GetWebRequest method).

Hope this helps.
 
Thanks for the reply Nicholas! I suppose it could be a connectivity issue as
it only happens at computers in remote offices and not at computers on the
same subnet as the server. I read some articles online (like this one:
http://weblogs.asp.net/jan/archive/2004/01/28/63771.aspx) that mentioned
overriding the GetWebRequest method and thought it may have been a .NET
Framework issue. I'll see if I can discover any connectivity issues and go
from there. Thanks for the help!

Nicholas Paldino said:
Slylos,

It sounds like a connectivity problem. You aren't seeing an error on
the server, right? Perhaps it has something to do with the connection
between the proxy and the server (oh, and you shouldn't have to override the
GetWebRequest method).

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

slylos said:
I've got a C# windows app that passes a Dataset to a webservice, which
handles the DB operations. Intermittenly, I get
"System.Web.Services: The underlying connection was closed; an unexpected
error occurred on a send"

I'm running IIS 5.0 on the webserver, .NET Framework 1.1 with Service Pack
1
on the web server and every client. I've tried overriding the
GetWebRequest
method in the generated proxy class for my webservice, but I still get
that
error message. Anybody have any ideas?
 
Back
Top