Disconnected when debugging a webservice consumer

Discussion in 'ASP.NET WebServices' started by Nils, Apr 8, 2005.

  1. 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.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

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

Share This Page