Troubleshoot IIS 6 and Intermittent SQL Server Connectivity Loss

Posted by jpsnow on Server Fault See other posts from Server Fault or by jpsnow
Published on 2012-10-12T15:09:50Z Indexed on 2012/10/12 15:39 UTC
Read the original article Hit count: 263

I am not a System Administrator, but I am temporarily trying to fill that role.

I have 2 Windows 2003 Servers. 1 server has my Microsoft SQL Database (SQL Server 2005) and the other is the web server with IIS6.

Intermittently (once every month or 2) the web server loses connectivity to the database server for a period of roughly 10 minutes. It normally regains connectivity without intervention.

The website is set up to send me an email when there is a problem connecting to the database. Within the email, I get the error code:

[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied.

I am able to access both servers during the outage. I can go to my SQL server and open up SQL server without any issues. I have looked in the EventViewer and do not see anything.

The last time that I had this issue, I stopped IIS6 and started it. After doing this, the issue was resolved. This leads me to believe that it is an issue with IIS and not SQL server. How can I begin troubleshooting?

© Server Fault or respective owner

Related posts about sql-server

Related posts about iis