Last post May 26, 2016 05:57 AM by jignesht24
May 12, 2016 03:36 PM|bmcghee1975|LINK
If I have my mvc webapp open in the browser and its authenticated. Then I make change and rebuild the solution. I refresh the webapp and it gives the Object Reference Error. Does the webapp lose all references once it is rebuilt? If so, is there an easy
way to get it to default back to the login screen? This is in a controller and the error is referring to a model class.
May 26, 2016 05:57 AM|jignesht24|LINK
As per me when you rebuild application, it has lost all session. It might you get the value from session and because of session is null you got this error.
please share some part of your code where you got the exception so that we can you.