Specific site unable to connect to MSSQL server after reboot
Solution 1:
It's possible that on reboot IIS becomes available before the SQL Server database (i.e. it's in recovery and it not available). Do you have lot of databases? This could mean a longer start up time.
I'm guessing this by "Cannot open database "SiteDb" requested by the login" which means login is successful but can not connect to the database specified.
Ideas:
- Can you change the IIS services to delayed start?
- Set a start up job that waits 30 seconds then issues
iisreset
- Add retry logic to the web code?