Skip to content

System.NullReferenceException: In IIS

Anshul Johri

Asked Jan 4, 2016, 9:59 PM EST1 answer
Share
LinkedInX
Hi ,
 
I am working on a Project Developed in Mvc 4 Framework with Sql Server 2012 running on IIS 8.
Suddenly some links stops working and starts throwing an error:
 
"Here is the actual error : System.NullReferenceException: Object reference not set to an instance of an object."
 
And when we change the IIS (new IIS machine ), it automatically starts working.
 
Does any one have any idea about this problem.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Basic reason for 'System.NullReferenceException' is that application trying  to access a variable or member on a type whose value is null. 
    Please look into the stack trace of the exception and look for file location & line number and you may get a clue for this issue.
    0