Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

[SQL Server Native Client 11.0]Shared Memory Provider: Timeout error - how to increase the time before timeout error?

$
0
0

Good day.

We have IIS7 and Windows Server 2008 R2

When we use php script in server we get error:

Error in query mainres enterres preparation/execution. 
Array ( 
	[0] => Array ( 
			[0] => 08S01 [SQLSTATE] => 08S01 
			[1] => 258 [code] => 258 
			[2] => [Microsoft][SQL Server Native Client 11.0]Shared Memory Provider: Timeout error [258]. [message] => [Microsoft][SQL Server Native Client 11.0]Shared Memory Provider: Timeout error [258]. 
			) 
	[1] => Array ( 
			[0] => 08S01 [SQLSTATE] => 08S01 
			[1] => 258 [code] => 258 [2] => [Microsoft][SQL Server Native Client 11.0]Communication link failure [message] => [Microsoft][SQL Server Native Client 11.0]Communication link failure 
			) 
	[2] => Array ( 
			[0] => 08S01 [SQLSTATE] => 08S01 
			[1] => -2147467259 [code] => -2147467259 
			[2] => [Microsoft][SQL Server Native Client 11.0]Communication link failure [message] => [Microsoft][SQL Server Native Client 11.0]Communication link failure 
			) 
	)

As we can see Shared Memory Provider: Timeout error

This error may be related to the setting in your php.ini configuration file.

In php.ini we set:

max_execution_time =600
max_input_time =600
default_socket_timeout =60
mssql.connect_timeout =60
mssql.timeout =60

Tell me please how to increase the time before timeout error ?




Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>