An Unexpected error occurred on a send

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?
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
G

Guest

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?
 

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

Top