我们最近将其中一个应用程序迁移到了新服务器。早期Web和DB都在同一台服务器上。现在,它们位于同一网络上的单独服务器上。在此移动之后,会话在某些页面上过期。这真是一种奇怪的行为,到目前为止我一直无法找到解决方案。
以下是事件日志详细信息。
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 14/06/2017 16:26:50
Event time (UTC): 14/06/2017 10:56:50
Event ID: fc97896890a049098441b1c00e76637a
Event sequence: 3
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/OrangeTemp-1-131419114095107559
Trust level: Full
Application Virtual Path: /OrangeTemp
Application Path: C:\inetpub\wwwroot\OrangeTemp\
Machine name: ORA-SFAAPPSRV
Process information:
Process ID: 5148
Process name: w3wp.exe
Account name: IIS APPPOOL\DefaultAppPool
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at Zamsana.Vantage.WebUI.HOReturns.FirstPageLoad()
at Zamsana.Vantage.WebUI.FrontLogic.BasePage.Page_Load(Object sender,
EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: http://localhost/OrangeTemp/HOReturns.aspx
Request path: /OrangeTemp/HOReturns.aspx
User host address: ::1
User: kasunc
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\DefaultAppPool
Thread information:
Thread ID: 6
Thread account name: IIS APPPOOL\DefaultAppPool
Is impersonating: False
Stack trace: at Zamsana.Vantage.WebUI.HOReturns.FirstPageLoad() at
Zamsana.Vantage.WebUI.FrontLogic.BasePage.Page_Load(Object sender, EventArgs
e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)