I am getting Event Log entries every time I access the site:
Event Type: Error Event Source: VsJITDebugger Event Category: None Event ID: 4096 User: NT AUTHORITY\NETWORK SERVICE Computer: COMPUTER-02 Description: An unhandled Microsoft .NET Framework exception occurred in w3wp.exe [2908]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on. Check the documentation index for 'Just-in-time debugging, errors' for more information. Data: 0000: 02 00 5c 80 ..\
System Logs
Event Type: Error Event Source: W3SVC Event Category: None Event ID: 1002 Date: 28/03/2011 Time: 17:49:28 User: N/A Computer: COMPUTER-02 Description: Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
Application Log
Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 1011 Date: 28/03/2011 Time: 17:49:28 User: N/A Computer: COMPUTER-02 Description: A process serving application pool 'DefaultAppPool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '3724'. The data field contains the error number. Data: 0000: 6d 00 07 80 m..
I have also followed the advice of Microsoft's Support site without luck. The Network Service account didn't have any problems accessing the registry.
I need to run the site in IIS6 (instead of IIS Express 7.5) as the site runs ASP as well as ASP.NET I need the wildcard mapping for authentication in ASP.
I have completely run out of ideas, as the site was fine in ASP.NET 3.5 (CLR v2…), but this upgrade has completely messed up by debugging.
Any help will be much appreciated.
Best Answer
You will need WinDbg (Debugging Tools for Windows) and DebugDiag.
.load sos
!clrstack
For me anyway, you can see that the
Debugger.Launch()
is right at the top, and low and behold, my code had it in. It seems that IIS doesn't like that at all if it is your first line of code!