我有任務使用說明部署Web應用程序。我做到了根據指示,但我有麻煩,同時打開的應用程序的主頁:部署Web應用程序
[NullReferenceException異常:未設置爲一個對象的實例對象引用] ASP.global_asax.GetCurrentUsersDomainName()312 ASP.global_asax.Session_Start(Object sender,EventArgs e)+44 System.Web.SessionState.SessionStateModule.CompleteAcquireState()+409 System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source,EventArgs e,AsyncCallback cb,Object extraData)+1268 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+12335126 System.Web.HttpApplication.ExecuteStep(IExecutionStep step,B oolean & completedSynchronously)+288
有沒有人有想法如何解決這個問題?
比較你的會話/串..訪問之前......如果(會話[「testsession」]!= null)像這樣... –