I am getting an error from my production web site sometimes while trying to access web services. The web services are not hosted in the production application server but on a different server. I dont get the error very frequently but I have to solve this issue somehow. The following is the stack trace which I get.
The underlying connection was closed: An unexpected error occurred on a send.
Stack Trace : at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object parameters)
at MyApp.MyWS.MyWSClass.MyWSMethod(String IncidentID, String Source, String Mode) in C:\Ganesh\Working\MyApp\Web References\MyWS\Reference.cs:line 37
at MyApp.MyPage.MyTestMethod() in C:\Ganesh\Working\MyApp\MyPage.aspx.cs:line 295
Can anybody tell me how to solve this issue.. Please help