This question already has an answer here:
i am getting a strange error in a Web applicaton mvc project, in razor view i am getting NullReferenceException even object is not null.
here is link of screenshot of error. [screenshot of error] http://i.stack.imgur.com/eL8HQ.png
Things those i already tried:
None of these helped.
Please help me to solve this.