Server Error in '/' Application.

The request was aborted: The connection was closed unexpectedly.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request was aborted: The connection was closed unexpectedly.

Source Error:


Line 209:            result.LoadXml(xmlStr);
Line 210:
Line 211:            HttpContext.Current.Session["XmlData"] = result;
Line 212:
Line 213:            return result;

Source File: C:\inetpub\wwwroot\etikajans.com\ws\Promiks.asmx.cs    Line: 211

Stack Trace:


[WebException: The request was aborted: The connection was closed unexpectedly.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +298
   System.Net.WebClient.DownloadString(Uri address) +106
   System.Net.WebClient.DownloadString(String address) +32
   etikajans.ws.Promiks.XmlData() in C:\inetpub\wwwroot\etikajans.com\ws\Promiks.asmx.cs:211
   etikajans.ws.Promiks.UrunBilgisi(Int32 ProductID) in C:\inetpub\wwwroot\etikajans.com\ws\Promiks.asmx.cs:177
   etikajans.promosyon_detay.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\etikajans.com\promosyon-detay.aspx.cs:29
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0