Server Too Busy in vs2012

Solution 1:

I have had this problem for my ASP.Net solution as well. There were no solutions for this problem on Stack Overflow or anywhere else.

Setup:

Visual Studio 2013 (but I think it will also work for vs 2010/2012 ASP.Net web application IIS express setup).

Our production environment never had this problem because it was running on IIS.

I have tried a lot to fix it, but I found one specific solution. I set the delayNotificationTimeout to 20 seconds, instead of the default of 5, which was not enough for our solutions to conjure up everything it needed to successfully run.

<system.web>
    <httpRuntime maxRequestLength="104850" 
                 executionTimeout="600" 
                 enableVersionHeader="false" 
                 delayNotificationTimeout="20" />
</system.web>

Solution 2:

just clean the solution before you build it. Also, check the size of the folder in which the solution is, before & after clean build; you will surely find some difference. Doing this ensures that you clean/remove unnecessary dlls created after every build which is the cause of delaying the normal flow.