Take the 2-minute tour ×

An unhandled exception ('System.Net.Sockets.SocketException') occurred in w3wp.exe [9740]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on.

We're getting the above error in the Application log. Is there a way to capture a .NET stack trace that doesn't require user interactivity?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You can follow the article Catch Exceptions on x64, this will work fine on x86 as well.

share|improve this answer
add comment

Your Answer


