I have 4 model class in my project. Every model class has insert page. In my every insert data page, I am getting same error as “
System.NullReferenceException“. This error is showing in each of
Suppose, I have 3 input attributes in my insert data page (
cshtml page), then in every attribute showing same error as “
System.NullReferenceException“. I can not understand why is this happening? Please see the attached image. I can not debug this because errors are showing in
cshtml pages. Please help I am going crazy with this error.