異界之狂徒 正文 第一百四十七章 雷厲風行

作者 ︰ 愚喬

WwW.CaIHonGWeNXue

Objectreferencenotsettoaninstanceofanobject.

ServerErrorin-/-Application.

Objectreferencenotsettoaninstanceofanobject.

Description:Anunhandledexceptionoccurredduringtheexecutionofthecurrentwebrequest.Pleasereviewthestacktraceformoreinformationabouttheerrorandwhereitoriginatedinthecode.

ExceptionDetails:System.Data.DataException:Objectreferencenotsettoaninstanceofanobject.

SourceError:

Thesourcecodethatgeneratedthisunhandledexceptioncanonlybeshownwhencompiledindebugmode.Toenablethis,pleasefollowoneofthebelowsteps,thenrequesttheURL:

1.AddaDebug=truedirectiveatthetopofthefilethatgeneratedtheerror.Example:

%@PageLanguage=C#Debug=true%

or:

2)Addthefollowingsectiontotheconfigurationfileofyourapplication:

configuration

system.web

compilationdebug=true/

/system.web

/configuration

Notethatthissecondtechniquewillcauseallfileswithinagivenapplicationtobecompiledindebugmode.Thefirsttechniquewillcauseonlythatparticularfiletobecompiledindebugmode.

Important:Runningapplicationsindebugmodedoesincuramemory/performanceoverhead.Youshouldmakesurethatanapplicationhasdebuggingdisabledbeforedeployingintoproductionscenario.

StackTrace:

Snda.CMFUmon.ExceptionManager.HandleException+84

Snda.CMFU.Wemon.ErrorPage1.OnError+31

System.Web.UI.Page.HandleError+84

System.ain+6776

System.Web.UI.Page.ProcessRequest+242

System.Web.UI.Page.ProcessRequest+21

System.Web.UI.Page.ProcessRequest+49

ASP.errorpage_aspx.ProcessRequest+4

System.Web.HttpServerUtility.ExecuteInternal+1116

Snda.CMFUmon.ExceptionManager.HandleException+84

Snda.CMFU.Web.Global.Application_OnError+279

VersionInformation:MicrosoftFrameworkVersion:2.0.50727.3053;ASPVersion:2.0.50727.3053

(快捷鍵 ←)上一章   本書目錄   下一章(快捷鍵 →)
異界之狂徒最新章節 | 異界之狂徒全文閱讀 | 異界之狂徒全集閱讀