I m having a database problem that I couldnt identify. The IIS loses connection to database once in 3 weeks. Once you restart the IIS everything is normal. Looks like IIS is fine because i can go to static pages. When I go to a page that requires database connection I get this error:
A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - Either the application has not called WSAStartup, or WSAStartup failed.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Is this a connection string problem?. because without changing anything if I restart the webserver all is fine. Is this a problem with application state?
It cant be at the sql server side as other applications on the machine work fine. There is something going on with IIS not sure what it is.
Any help would be appreiciated.
View Complete Post