I recently got the dreadful error when starting the website, even if the database connection string was more than correct and it worked in sql management studio. If you've tried anything else without success of getting your website started, and you use SQL Server-backed session persistance, be sure to also check for the sessionState connection string...