Problem: I was getting below error message when I was running my ASP.NET MVC project from Visual Studio. I tried to debug but even debugging was not working. There was no code error that can throw below error. When I run this project in another browser it was working but not in Google chrome.
System.NullReferenceException : Object reference not set to an instance of an object. Solution: After spending 10 minutes time, I cleared all the browser history of Google chrome and started the project again in Google chrome and it worked. So it was something to do with the browser history that was restricting it even to debug the project through Google chrome.
Hope this helps someone!
Regards,
Sheo Narayan
http://www.dotnetfunda.com