How to find reason for StackOverflowException in System.Web.dll after upgrading an ASP.NET MVC 2 project?

1.7k views Asked by At

I've upgraded an ASP.NET MVC 2 solution to MVC 4*. When running the site the start page is displayed but after a little while a StackOverflowException is thrown in System.Web.dll (sometimes in System.Runtime.Serialization.dll) and thus there's no call stack to examine. I've stepped through the start sequence code but haven't found anything suspicious.
What should I do to find the problem?

*Tried both manual variants described here and here as well as automatic variants using this and this tool

1

There are 1 answers

0
Jeff Mikan On

My Hint: If your page is formatting correctly, look at right before each </tr> and see if you are missing a </td>