Thread7
asked on
IIS Database Connection Sometimes Hangs
Our server IIS6 / SQL Server 2005 / Windows 2003 / Classic ASP system will sometimes hang causing any page on the web site that connects to the database to not load. Non database pages will still load fine.
I believe it is something will the Application variable in global.asa. To fix the problem all I have to do is upload a saved copy of global.asa an the problem is fixed immediately. Starting and stopping the web service also works. I think what may be happening is that IIS 6 is losing the database connection application variable. I should also mention that we connect to a MySQL system on some ASP pages too. But that connection still works (I think).
It had been happening twice a week. Now it is 5 times a day. So I need to fix it ASAP!
I believe it is something will the Application variable in global.asa. To fix the problem all I have to do is upload a saved copy of global.asa an the problem is fixed immediately. Starting and stopping the web service also works. I think what may be happening is that IIS 6 is losing the database connection application variable. I should also mention that we connect to a MySQL system on some ASP pages too. But that connection still works (I think).
It had been happening twice a week. Now it is 5 times a day. So I need to fix it ASAP!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Should be
Interactive
Internet Guest Account
Network
Network Service
all have read only.
Administrator full control. No other accounts should have access, especially write or delete.
In IIS the file properties should be read only and log visits.