Try setting the as.net start up timeout higher. I set mine to 240 rather than 90 seconds. Seems to have worked on our installation of YAF
While that used to help in the past, I have adopted a new config setting in the web.config per Jaben (posted here in another thread) that changed our startup times to next less than 5 seconds 99% of the time on both sites (188.8.131.52 and 2.0 beta) - both sites used to startup slow, and as such, both have 600 for the delay. That's a 10 minute startup delay. I don't know anyone who will wait for 10 minutes for a site to startup.
Regardless of that, it's not a timeout issue. There's something else going on. This didn't appear until the 2.0 betas - my 184.108.40.206 site has a 400meg db with over 250k posts and 2k users. It starts up no problem every time. The 2.0 site has 175k posts and 800 users and that's the one that fails to startup with the same above error. In my case, it takes a restart of the SQL server then a restart of the APP pool to clear it.
It seems to happen any time the app can't get a clean shutdown (ex: app pool shutdown time limit is 90 seconds per IIS (default setting) -- if it takes longer than that, it is forcibly closed by IIS. If this happens, or it dies without being able to shutdown the pool cleanly, I get the above, same as SteveinTN.
For what it's worth, mods really need to split this into another topic in the bugs forum.
Edited by user
| Reason: Not specified