Click here to Skip to main content
15,905,913 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have made SQL server express edition[] as a server and then want to access the database from another machine which is on the same network.
But getting this following error.

Quote:
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Posted
Updated 7-Dec-11 18:32pm
v3

This error message is due to the server setting of Remote Connection Query Timeout. The default is 600 seconds, or 10 minutes.
SQL
EXEC SP_CONFIGURE 'remote query timeout', 1800
reconfigure
EXEC sp_configure
 
EXEC SP_CONFIGURE 'show advanced options', 1
reconfigure
EXEC sp_configure
 
EXEC SP_CONFIGURE 'remote query timeout', 1800
reconfigure
EXEC sp_configure

After making this change, make sure to close the window and create a new connection in order to inherit the new query timeout settings.

Regards,
Eduard
 
Share this answer
 
Comments
sahabiswarup 8-Dec-11 0:25am    
i have installed Microsoft SQL Server Express Edition and then configure its settings; I have enabled TCP/IP; but still facing the same error.
N.B: When i am setting SQL Server Management Studio as a server it works perfectly but in Express Edition i am facing this kind of problem.

Can you give me any solution regarding this.
Thanks Eduard in advance.
Configure TCP/IP port.
enable it and set the port no 1433
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900