An existing connection was forcibly closed by the remote host

Transcription

An existing connection was forcibly closed by the remote host
Server Error in '/' Application.
An existing connection was forcibly closed by the remote host
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.ComponentModel.Win32Exception: An existing connection was forcibly closed by the remote host
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace: [Win32Exception (0x80004005): An existing connection was forcibly closed by the remote host]
[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 ‐ An existing connection was forcibly closed by the remote host.)]
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +642
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +1079
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6605639
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +233
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +278
System.Data.SqlClient.SqlConnection.Open() +239
Wim.Data.Connection.SqlConnect.Open(String connection) +101
Wim.Data.Connection.SqlCommander.SetEnvironment() +35
Wim.Data.Connection.SqlCommander.SetParameter(String name, Object itemvalue, SqlDbType type, Int32 length, Byte scale, ParameterDirection direction) +36
Wim.Data.Connection.SqlCommander.SetParameter(String name, Object itemvalue, SqlDbType type, Int32 length, ParameterDirection direction) +34
Wim.Data.Connection.SqlCommander.SetParameterOutput(String name, SqlDbType type, Int32 length) +28
Wim.Data.DalReflection.BaseSqlEntity.Insert(Boolean identityInsert) +522
Wim.Data.DalReflection.DatabaseEntity.Save() +141
Wim.Data.Identity.Visitor.Save(Boolean shouldRememberVisitorForNextVisit) +407
Wim.Data.Identity.Visitor.Select() +432
Wim.Data.Notification.InsertOne(String groupName, NotificationType type, ApplicationUser currentApplicationUser, String notification, XmlDocument[] xml) +266
Wim.Framework.PageTemplate.PageTemplate_Error(Object sender, EventArgs e) +504
System.Web.UI.Page.HandleError(Exception e) +164
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12309831
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12309361
System.Web.UI.Page.ProcessRequest() +119
System.Web.UI.Page.ProcessRequest(HttpContext context) +99
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34274