c# - Object reference not set to an instance of an object in Page declaration -
i having issue existing site functioning until last week. when open site in vs 2013 "object reference not set instance of object" error/warning on page declaration of .aspx
pages , .master
pages. website builds correctly when run displays blank page , no errors.
i have verified code behind file exists , it's namespace , class entered page declaration. adding new page project gets same error , have verified references present. website 3.5 framework. appreciated. thanks.
clayton
since wasn't making headway in getting resolved decided create new web project , move existing files new project. decided 1 file @ time see if nail down page or setting causing issue. files copied on , site ran expected until started tweek web config file match of settings old project. worked until added line
<identity impersonate="true" username="domain\username" password="password" />
once saved , ran webpage started getting same errors other project. commenting out line resolved issue me i've got figure out why cause such strange issue.
thanks time.
edit: oddly enough line works without specifying user account if put <identity impersonate="true" />
works expected.
Comments
Post a Comment