Server Error in '/' Application.

Authentication failed because the remote party has closed the transport stream.

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.IO.IOException: Authentication failed because the remote party has closed the transport stream.

Source Error:


Line 79:         }
Line 80: 
Line 81:     }
Line 82: 
Line 83:     public string largedecimal(string number, int numberofdecimal)

Source File: c:\WEBROOT\hasglobalgold.com\Cevrim.aspx.cs    Line: 81

Stack Trace:


[IOException: Authentication failed because the remote party has closed the transport stream.]
   System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) +7140181
   System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +277
   System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) +7316786
   System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) +214
   System.Threading.ExecutionContext.runTryCode(Object userData) +376
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +98
   System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) +1131
   System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) +88
   System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) +20
   System.Net.ConnectStream.WriteHeaders(Boolean async) +360

[WebException: The underlying connection was closed: An unexpected error occurred on a send.]
   System.Net.HttpWebRequest.GetResponse() +1126
   System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +86
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +65
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +76
   System.Threading.CompressedStack.runTryCode(Object userData) +118
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +122
   System.Xml.XmlTextReaderImpl.OpenUrl() +5045084
   System.Xml.XmlTextReaderImpl.Read() +152
   System.Xml.XmlReader.MoveToContent() +22
   System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +374
   Cevrim.Page_Load(Object sender, EventArgs e) in c:\WEBROOT\hasglobalgold.com\Cevrim.aspx.cs:81
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975