Our server is running Windows Server 2003. We have updated the .NET version for our sites in IIS to use 4.0. At random times, 1-2 times a week from the moment of making changes, a quick crash occurs and the site is reset with 503 errors.
Application logs show a series of errors that trigger a quick release trigger. Each of them contains two errors, up to a quick failure trigger 10. Errors:
1:27:21 AM
.NET Runtime 4.0 Error
EventType clr20r3, P1 w3wp.exe, P2, 6.0.3790.3959, P3 45d6968e, P4 app_code.xqrjkjyl, P5 0.0.0.0, P6 51345a6b, P7 252, P8 0, P9 system.stackoverflowexception, P10 NIL.
1:27:11 AM
.NET Runtime
Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was interrupted due to.
Note that a 4.0 error occurs 10 seconds after an unnamed .Net error. I believe that an unspecified .net version error is for the old version 2.0 that we switched from.
In IIS6, handlers are configured to use 4.0. We have several application pools on the main site. The web.config files for all of them define 4.0 as the structure used:
<compilation debug="false" targetFramework="4.0"> <assemblies> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </assemblies>