社区
疑难问题
帖子详情
thread was being aborted 问题
envykok
2010-08-13 12:47:52
在执行SQL 语句时候,为什么会抛出这样的错误:thread was being aborted
如何察看是什么错误?
...全文
326
6
打赏
收藏
thread was being aborted 问题
在执行SQL 语句时候,为什么会抛出这样的错误:thread was being aborted 如何察看是什么错误?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
hao1hao2hao3
2010-08-13
打赏
举报
回复
哎!问得好累啊!怎么不说开发语言等的相关信息,这个应该不是SQL的问题。
envykok
2010-08-13
打赏
举报
回复
[Quote=引用 1 楼 hao1hao2hao3 的回复:]
在程序中执行?还是在查询分析器中?
[/Quote]
在程序中执行
hao1hao2hao3
2010-08-13
打赏
举报
回复
在程序中执行?还是在查询分析器中?
envykok
2010-08-13
打赏
举报
回复
--- Error Message ---
Thread was being aborted.|System.Data| at SNIReadSync(SNI_Conn* , SNI_Packet** , Int32 )
at SNINativeMethodWrapper.SNIReadSync(SafeHandle pConn, IntPtr& packet, Int32 timeout)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteXmlReader()
at Listings.Listings1.GetListings(String methodName)
王向飞
2010-08-13
打赏
举报
回复
语句贴出来看看
envykok
2010-08-13
打赏
举报
回复
[Quote=引用 3 楼 hao1hao2hao3 的回复:]
哎!问得好累啊!怎么不说开发语言等的相关信息,这个应该不是SQL的问题。
[/Quote]
大哥,是SQL 问题,我用的是C#
因为抛出这条错误信息是SQLCommand.EXECUTEQUERY()...
我目前有3000多个用户,我想是不是我的SQL SERVER不够强大
System.
Thread
ing.
Thread
Abort
Exception(解决方案).md
然而,使用`
Thread
.
Abort
()`来终止线程是有争议的,因为它可能导致不确定的行为,如资源清理不完全、线程状态不一致等
问题
。因此,在多数情况下,应尽量避免使用此方法,转而采用更为协作式的方法来实现线程的优雅...
BURNINTEST--硬件检测工具
system/ device driver that prevents control being return
ed
to the BurnInTest for that test. This was add
ed
for specializ
ed
serial port hardware that could lockup after several hours of testing. ...
微软内部资料-SQL性能优化3
There was no way to prevent non-repeatable reads while not preventing phantoms. By default, SQL Server 2000 operates at an isolation level of READ COMMITT
ED
. To make use of either more or less strict...
acpi控制笔记本风扇转速
produc
ed
when this parameter was a null string (""). Now, the original input filename is us
ed
as the AML output filename, with an ".aml" extension. Implement
ed
a generic batch command mode for the ...
Thread
was being
abort
ed
分析与解决
Thread
was being
abort
ed
分析与解决 在捕获异常的try块中使用 response.r
ed
irect(); 或 response.write();response.end(); 有时会提示线程已被中止(英文:"
Thread
was being
abort
ed
")错误. 分析该错误的...
疑难问题
22,299
社区成员
121,733
社区内容
发帖
与我相关
我的任务
疑难问题
MS-SQL Server 疑难问题
复制链接
扫一扫
分享
社区描述
MS-SQL Server 疑难问题
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章