2010-05-03 128 views
0

在我们开发的SQL Server,执行包含超过大约700个字符的任何查询摊位约10秒钟,然后报告了以下错误:Sql server management studio报告“信号量超时期限已过期”。

Msg 121, Level 20, State 0, Line 0
A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.)

例如,下面的查询

select * from FooTable where id = ' (.. and then 700 spaces ..) '

失败,失败与此超时错误

select * from FooTable where id = ' (.. and then 600 spaces ..) '

失败,并与预期的Msg 8169 ,级别16,状态2,行1 从字符串转换为uniqueidentifier时转换失败。 - 立即。

事实上,投掷任何疑问,包括我们的开发SQL服务器出现此行为随机垃圾,而任何其他SQL Server我的预期可获得的行为,所以我认为查询实际上从未到达解析上服务器。

我在这里亏本 - 任何提示?

回答

0

客户端计算机重新启动后,问题已经解决 - 显然服务器的硬件设置发生了一些变化,我们测试过的两个开发盒没有找到。

这并不是要求我完全理解发生了什么,但..