简体   繁体   English

超时问题-SQL Server Native Client 10.0,TCP提供程序-错误258

[英]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.

相关问题 [Microsoft] [SQL Server本机客户端11.0]共享内存提供程序:超时错误[258] - [Microsoft][SQL Server Native Client 11.0]Shared Memory Provider: Timeout error [258] 在SQL Server Native Client 10.0中执行查询时出错 - Error executing Queries in SQL Server Native Client 10.0 CodeIgniter 到 SQL 服务器获取错误:TCP 提供者:信号量超时期限已过期 - CodeIgniter to SQL Server get errror :TCP Provider: The semaphore timeout period has expired SQL Server随机超时问题 - SQL Server random timeout issue SQLSTATE[08001]:[Microsoft][ODBC Driver 17 for SQL Server]TCP 提供程序:错误代码 0x2746 - SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746 TCP 提供程序连接被拒绝 - Laravel 6 和 SQL 服务器 (Microsoft) 和 Laragon - TCP Provider connection refused - Laravel 6 and SQL Server (Microsoft) and Laragon SQL Server 2008 R2本机客户端 - SQL Server 2008 R2 Native Client …/ db.php:46中的消息“ SQLSTATE [07002]:[Microsoft] [SQL Server Native Client 11.0] COUNT字段不正确或语法错误”的“ PDOException” - 'PDOException' with message 'SQLSTATE[07002]: [Microsoft][SQL Server Native Client 11.0]COUNT field incorrect or syntax error' in …/db.php:46 SQLSTATE[08001]:[Microsoft][ODBC Driver 13 for SQL Server]TCP Provider:无法建立连接,因为目标机器主动拒绝它 - SQLSTATE[08001]: [Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: No connection could be made because the target machine actively refused it 将文件sql导入cpanel服务器上的phpmyadmin时发生超时错误 - Timeout error occurs while import file sql into phpmyadmin on cpanel server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM