Every so often, I'll get timeout errors on my site.. and they seem to be fairly random.
They'll occur when a query is being run, or purely just trying to connect to the database.
Here is an example of the error:
In that example, the script is purely just trying to open a connection to the database.
I know it has nothing to do with server maintenance, as I've run into this error when browsing from my own machine at a time when I know no maintenance is occuring on the server.
Regarding open connections.. the nature of the pages are open connection, fetch data, close connection. Even if the user were to keep the page up, the connection to sql should be closed once the page has finished loading. The only connection at that point should be between the user and the web server. The connection between the web server and the sql server should be gone.
I have a ticket in to my host to check out the server settings and error logs. But I want to do all I can from my end too. Any and all suggestions are welcomed.
thanks,
-S
They'll occur when a query is being run, or purely just trying to connect to the database.
Here is an example of the error:
Code:
ASP Error occurred 6/15/2009 1:05:33 AM in Microsoft OLE DB Provider for ODBC Drivers
Error number: -2147467259 (0x80004005)
File: /inc_site_variables.asp, line 160
[Microsoft][ODBC SQL Server Driver]Timeout expired
In that example, the script is purely just trying to open a connection to the database.
I know it has nothing to do with server maintenance, as I've run into this error when browsing from my own machine at a time when I know no maintenance is occuring on the server.
Regarding open connections.. the nature of the pages are open connection, fetch data, close connection. Even if the user were to keep the page up, the connection to sql should be closed once the page has finished loading. The only connection at that point should be between the user and the web server. The connection between the web server and the sql server should be gone.
I have a ticket in to my host to check out the server settings and error logs. But I want to do all I can from my end too. Any and all suggestions are welcomed.
thanks,
-S