.Net Framework: exception in w3wp.exe

greatromul picture greatromul · Oct 23, 2013 · Viewed 71.4k times · Source

I developed website with web forms in asp.net 3.5. I ran it with IIS. It worked good earlier. But exception occured suddenly, when I debugged it. Message was

An unhandled Microsoft .Net Framework exception occured in w3wp.exe [XXXX]

It occurs every time when I try to run my application, but when I run website with Cassini there is no exception. There is no exception, when I deploy html page on IIS. Problem occurs with .net application on IIS only.

I tried many solutions which I had found here, but none resolved the problem.

What's matter? Can anybody help? Thanks.

Answer

lukejkw picture lukejkw · Nov 17, 2016

This can be caused in ASP.NET when an infinite loop occurs.

A common example is rendering a partial view which then renders itself in ASP.NET MVC.