PDA

View Full Version : Disconnected when debugging a webservice consumer


Nils
04-08-2005, 02:12 AM
I have built and uploaded a WebService.
When I run a Windows Application that consumes this Webservice, it only works in 'release' mode. When executing the WinApp in debug mode I get an exception when calling the webservice method.
This used to work for a previous webservice I made.
What is wrong?

Message:

The underlaying connection was closed: Un unexpected exception occured on a send.

bruce
04-08-2005, 05:32 AM
this error usually means that the http connection is being interrupted.

do you have any firewall or anti virus software installed? these application can sometimes terminate long running tcp connection. try disable them.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

Nils
04-11-2005, 10:05 AM
The problem does not exist anylonger. I think the error message was caused by me calling connection.Open( ) twice, by mistake, or some other simple programming error.


That is how it is, you always suspect the difficult parts first!
I am sorry.