异常详细信息: System.ComponentModel.Win32Exception: 远程主机强迫关闭了一个现有的连接。
2021-03-05 19:29
标签:length base 详细信息 exce erro close async win32 lan 未解决。。。。 异常详细信息: System.ComponentModel.Win32Exception: 远程主机强迫关闭了一个现有的连接。 标签:length base 详细信息 exce erro close async win32 lan 原文地址:https://www.cnblogs.com/panjinzhao/p/12888569.html[Win32Exception (0x80004005): 远程主机强迫关闭了一个现有的连接。]
[SqlException (0x80131904): 在从服务器接收结果时发生传输级错误。 (provider: TCP Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。)]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +1789294
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5340642
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +244
System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) +601
System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() +256
System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() +39
System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() +125
System.Data.SqlClient.TdsParserStateObject.TryReadByteArray(Byte[] buff, Int32 offset, Int32 len, Int32& totalRead) +77
System.Data.SqlClient.TdsParserStateObject.TryReadUInt32(UInt32& value) +5341726
System.Data.SqlClient.TdsParser.TryReadSqlValueInternal(SqlBuffer value, Byte tdsType, Int32 length, TdsParserStateObject stateObj) +318
System.Data.SqlClient.TdsParser.TryReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj) +108
System.Data.SqlClient.SqlDataReader.TryReadColumnInternal(Int32 i, Boolean readHeaderOnly) +258
System.Data.SqlClient.SqlDataReader.TryReadColumn(Int32 i, Boolean setTimeout, Boolean allowPartiallyReadColumn) +71
System.Data.SqlClient.SqlDataReader.GetValues(Object[] values) +165
System.Data.ProviderBase.CommonLanguageSubsetDataReader.GetValues(Object[] values) +11
System.Data.ProviderBase.SchemaMapping.LoadDataRow() +38
System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) +83
文章标题:异常详细信息: System.ComponentModel.Win32Exception: 远程主机强迫关闭了一个现有的连接。
文章链接:http://soscw.com/index.php/essay/60591.html