Reputation: 10056
So, today i went back to some old methods in my application that i wrote in the past to discover, that when i execute "return View("MyView");
", it crashes my application. Chrome just keeps loading and loading and nothing happens. It worked perfectly in the past, i didn't change a thing in that. How can i debug that and know what is happening? I execute some other stuff before returning a view, but a breakpoint successfully passes through this return and then nothing happens. :-O
Upvotes: 0
Views: 378
Reputation: 7484
Whenever I've experienced this problem, it has always been due to a problem with FormsAuthentication. The loop is usually a redirect to the login page because the page detects you aren't logged in but the login page redirects back because it detects you are logged in.
The usual cause is using another app for authentication but the keys used by the two apps (specified in the machineKey setting) don't match.
Upvotes: 1