The underlying connection was closed: An unexpected error occurred on a receive.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • forshiv
    New Member
    • May 2007
    • 2

    The underlying connection was closed: An unexpected error occurred on a receive.

    I have developed an appliction using python 2.4 and is running on Linux ES4.0. I have written one component in C#.net 2005.
    The things are working fine.

    Now, we have moved to Virtualization. We are using VMware v 4.0. The linux ES is installed and we are using lighttpd.
    Now, It is possible to access the web pages through IE, but from component developed in C#.net 2005, it is throwing "The underlying connection was closed: An unexpected error occurred on a receive." Exception.

    I have tried
    myRequest.KeepA live = false;

    But still it is the same.

    There is no way out from this.


    Kindly suggest.

    Thanks in anticipation.

    Kumar
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    debug it and find what line is cauing the error.
    Its liekly you are trying to do a read/write call after the socket was closed

    Comment

    Working...