473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

An Unexpected error occurred on a send

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?
Nov 16 '05 #1
2 2286
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]
- mv*@spam.guard.caspershouse.com

"slylos" <sl****@discussions.microsoft.com> wrote in message
news:48**********************************@microsof t.com...
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?

Nov 16 '05 #2
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/2.../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 [.NET/C# MVP]" wrote:
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]
- mv*@spam.guard.caspershouse.com

"slylos" <sl****@discussions.microsoft.com> wrote in message
news:48**********************************@microsof t.com...
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?


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fredrik L | last post by:
Hi, We have an application outside the firewall who talks to a webservice inside the firewall. 9 times of 10 this works, but sometimes we got the error "The underlying connection was closed: An...
4
by: Matthew.DelVecchio | last post by:
hello, i am developing an ASP.NET web app that consumes a 3rd party vendor webservice. it is my first one so while ive done my homework, im not an expert on the matter. our partner's...
3
by: Rahul Anand | last post by:
As per our requirements we have a web service which internally connects (Simple HTTP Post Request) to a remote server to initiate some work. We are calling the web service method asynchronously...
3
by: Rahul Anand | last post by:
As per our requirements we have a web service which internally connects (Simple HTTP Post Request) to a remote server to initiate some work. We are calling the web service method asynchronously...
1
by: Mrozik | last post by:
Hi! I have a problem - after deploying application in client environment, on some client machines occured error. Environment: App server: ASP.NET WebService/Win 2003/ secured SSL (.NET 2.0)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.