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