Search code examples
asp.netexceptionstack-overfloww3wp.exe

An unhandled exception ('<System.StackOverflowException>') occurred in w3wp.exe


How would I debug an exception like this for an ASP.NET web application?

Exception:

An unhandled exception ('<System.StackOverflowException>') occurred in w3wp.exe

Solution

  • You'll need to track down a place in your code (possibly a loop) where this may be happening. Take a look at the Event Viewer on the web server for more details on the exception.