Server Error in '/' Application.

远程主机强迫关闭了一个现有的连接。

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: 远程主机强迫关闭了一个现有的连接。

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): 远程主机强迫关闭了一个现有的连接。]

[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。)]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +133
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +604
   System.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose) +62
   System.Data.SqlClient.TdsParserStateObject.SNIWritePacket(SNIHandle handle, SNIPacket packet, UInt32& sniError, Boolean canAccumulate, Boolean callerHasConnectionLock) +827
   System.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean canAccumulate) +156
   System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode, Boolean canAccumulate) +916
   System.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec) +4159
   System.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword) +1010
   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +425
   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +1886
   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +521
   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions) +546
   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +1242
   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +114
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionOptions userOptions) +768
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnectionOptions userOptions) +194
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +868
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +238
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1485
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +189
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +152
   System.Data.SqlClient.SqlConnection.Open() +211
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +73
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +180
   System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +373
   System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +222
   SQLHelper.ExecuteDt(String Sqlstr) +184
   ASP.masterpage_master.__Render__control10(HtmlTextWriter __w, Control parameterContainer) +890
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +143
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +54
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +319
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +53
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +403
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +110
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +364
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +75
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +69
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +262
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +54
   System.Web.UI.Control.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +110
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +364
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +75
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +262
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +54
   System.Web.UI.Control.Render(HtmlTextWriter writer) +39
   System.Web.UI.Page.Render(HtmlTextWriter writer) +49
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +110
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +364
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +75
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6227


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

免责声明: 本站资料及图片来源互联网文章,本网不承担任何由内容信息所引起的争议和法律责任。所有作品版权归原创作者所有,与本站立场无关,如用户分享不慎侵犯了您的权益,请联系我们告知,我们将做删除处理!