.net - SQL Connection Error -
i getting error while trying access website:
exception information: exception type: sqlexception
exception message: error has occurred while establishing connection server. when connecting sql server 2005, failure may caused fact under default settings sql server not allow remote connections. (provider: tcp provider, error: 0 - connection attempt failed because connected party did not respond after period of time, or established connection failed because connected host has failed respond.
this error occurs 6-7 times in whole day.
can tell me why getting error? there special settings can made on sql server end avoid crash or problem in web application?
if problem occurs time time, it's running timeout 1 (or more) of commands.
try increasing value of commandtimeout property of commands.
also try profiling sql server longrunning queries.
Comments
Post a Comment