Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have the following error in my web application server log files, and its happens permanently.
A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.)" 

and the next one too :
A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)

any help please.
Posted
Updated 30-Jul-12 21:05pm
v2

Try increasing your connection timeout property (default is 30 sec) : http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectiontimeout.aspx[^]

Or your command timeout property (default is 30 sec): http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.commandtimeout.aspx[^]
 
Share this answer
 
Hi,
check your Connection string
Best Regards,
Pandu.
 
Share this answer
 
Hi ..


Please set time out high ...
 
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