我的asp.net网站应用程序工作正常2周,现在突然昨天我有这个错误,我的webapp已关闭我甚至没有改变任何东西
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
这是堆栈跟踪:
[NullReferenceException: Object reference not set to an instance of an object.]
CallAgency1._3.Pagemaitre.Page_Load(Object sender, EventArgs e) +89
System.Web.UI.Control.OnLoad(EventArgs e) +108
System.Web.UI.Control.LoadRecursive() +67
System.Web.UI.Control.LoadRecursive() +164
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3320
我做了很多研究,但我不知道问题是什么我重新发布我的webapp仍然有同样的错误我试图模仿这样的身份
<identity impersonate="true" userName="administrator" password="password" />
请帮助我找到我为此疯狂的问题... 我已经找到并尝试的答案是冒充身份或链接到[NullReferenceException我已经尝试过我在那里找到的所有东西,但它对我没有用,这就是为什么我重新发布