[英]Timeout issue - SQL Server Native Client 10.0, TCP Provider - Error 258
Apology if this is already answered somewhere. 道歉,如果已经在某个地方回答了。
I have a very complex stored procedure which takes date range as parameters and perform some actions. 我有一个非常复杂的存储过程,该过程将日期范围作为参数并执行一些操作。 The problem is it is timing out when I provide longer range of dates. 问题是当我提供更长的日期范围时超时。 It is totally working fine with those ranges from SQL Server Management Studio. 它与SQL Server Management Studio中的这些范围完全兼容。
Environment: 环境:
Windows Server 2008, SQL Server 2008, PHP, IIS,
SQL Server Driver (php_sqlsrv_53_ts_vc6)
Error I am getting: 我得到的错误:
[Microsoft][SQL Server Native Client 10.0]TCP Provider: Timeout error [258].
How can I increase Time of execution for this procedure or overall for the application? 如何增加此过程或整个应用程序的执行时间?
We spent 5 days looking for the solution for this problem, and it was just to close the connections. 我们花了5天的时间来寻找该问题的解决方案,而这只是为了关闭连接。
The timeout just happened when we opened two connections, one after another and didn't close them. 超时只是在我们打开两个连接时发生的,一个接一个地连接并且没有关闭它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.