I am getting this error while trying to access my website:

Exception information:

Exception type: SqlException

Exception message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

This error occurs 6-7 times in a whole day.

Can anyone tell me why do I am getting this error? Is there any special settings I can made on my SQL server end to avoid this crash or its a problem in my web application?

link|improve this question
Is a connection being made successfully at other times? – Richard Oct 13 '11 at 7:03
On top, waht does following the instructions in the error yield as result? – TomTom Oct 13 '11 at 7:14
@Richard: Yes.. Without any issue.. – Farhan Ahmed Oct 13 '11 at 7:16
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.