I am receiving: "Recompilation limit of 100 reached. HostingEnvironment caused shutdown" in Event l

Martin Dobsicek asked on July 12, 2009 07:08

I am receiving: "Recompilation limit of 100 reached. HostingEnvironment caused shutdown" in Event log

Correct Answer

Martin Dobsicek answered on July 12, 2009 07:08

Unfortunately, this is caused by .NET framework. It restarts the application automatically, after a specified number of compilations is reached, e.g. if you edited some code files, etc. This value can be set in web.config file (by default it is 100):

 <compilation debug="false" numRecompilesBeforeAppRestart="100">

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.