Env:
Client:
Win7 U SP1, Sql Server 2012 SP 1, VS2012 u4
Every thing is OK in last week. But I can't connect to any remote database by SSMS, I only can connect localDB on my computer. And if I retry, the SSMS crashed...
Then, I try to connect by VS2012, and it crashed either...
In the System Event Log, there are many error report about exception code as 0xC0000005, 0xE0434352...
Finally, I have to attach to SSMS process by VS, and the debug output like follow:
0x74F7C41F (KernelBase.dll) (Ssms.exe 中)First-chance exception: 0xE0434352 (parameters: 0x80131904, 0x00000000, 0x00000000, 0x00000000, 0x54F10000)。
0x74F7C41F (KernelBase.dll) (Ssms.exe 中)First-chance exception: 0xE0434352 (parameters: 0x80131904, 0x00000000, 0x00000000, 0x00000000, 0x54F10000)。
0x773622D2 (ntdll.dll) (Ssms.exe 中)First-chance exception: 0xC0000005: 写入位置 0xFEEEFEFA 时发生访问冲突。
Ssms.exe Error: 0 : ExceptionMessageBoxShown@can't connect to hlt-ph.keyuanmed.com。
System.ApplicationException: can't connect to hlt-ph.keyuanmed.com。 ---> System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
在 SNINativeMethodWrapper.SNIClose(IntPtr pConn)
在 System.Data.SqlClient.SNIHandle.ReleaseHandle()
在 System.Runtime.InteropServices.SafeHandle.InternalDispose()
在 System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)
在 System.Runtime.InteropServices.SafeHandle.Dispose()
在 System.Data.SqlClient.TdsParserStateObject.Dispose()
在 System.Data.SqlClient.TdsParser.Disconnect()
在 System.Data.SqlClient.SqlInternalConnectionTds.LoginFailure()
在 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
在 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
在 System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
在 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
在 System.Data.SqlClient.SqlConnection.Open()
在 Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
在 Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
--- 内部异常堆栈跟踪的结尾 ---thead 0x1cf4 exit,return value is 0 (0x0)。