Author: If broken it is, fix it you should : ASP.NET | Posted on: 11/6/2008 3:17:00 AM | Views : 1686

You learn something new every day? I was working on an issue with appdomain restarts caused by page re-compilations because aspx pages were created and modified from the code. You can get lifetime event information such as shutdown reasons, compilation information etc. in the eventlog by enabling Application Life Time Events in your web.config (See this post for more info about this and application restarts in general) We were seeing a lot of the following messages EventID: 1305 Event code: 1001 Event message: Application is starting EventID: 1305 Event code: 1002 Event message: Application is shutting down. Reason: Maximum number of recompilations was reached EventID: 1305 Event code: 1003 Event message: Application compilation is starting...(read more) ...

Go to the complete details ...