“/”應(yīng)用程序中的服務(wù)器錯(cuò)誤。
未將對象引用設(shè)置到對象的實(shí)例。
說明: 執(zhí)行當(dāng)前 Web 請求期間,出現(xiàn)未處理的異常。請檢查堆棧跟蹤信息,以了解有關(guān)該錯(cuò)誤以及代碼中導(dǎo)致錯(cuò)誤的出處的詳細(xì)信息。 異常詳細(xì)信息: System.NullReferenceException: 未將對象引用設(shè)置到對象的實(shí)例。 源錯(cuò)誤:
行 565: //first call GetProviderPath - this insures that the Database is Initialised correctly行 566: //and also generates the appropriate error message if it cannot be initialised correctly行 567: string strMessage = DataProvider.Instance().GetProviderPath();行 568: //get current database version from DB行 569: if (!strMessage.StartsWith("ERROR:"))
源文件: D:\Study\DotNetNuke_Community_06.00.02_Source\Library\Common\Globals.cs ?? 行: 567 堆棧跟蹤:
[NullReferenceException: 未將對象引用設(shè)置到對象的實(shí)例。] DotNetNuke.Common.Globals.get_Status() in D:\Study\DotNetNuke_Community_06.00.02_Source\Library\Common\Globals.cs:567?DotNetNuke.Common.Initialize.Init(HttpApplication app) in D:\Study\DotNetNuke_Community_06.00.02_Source\Library\Common\Initialize.cs:260?DotNetNuke.Common.DotNetNukeHttpApplication.Application_BeginRequest(Object sender, EventArgs e) in D:\Study\DotNetNuke_Community_06.00.02_Source\Library\Common\DotNetNukeHttpApplication.cs:158?System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68?System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
版本信息:?Microsoft .NET Framework 版本:2.0.50727.3625; ASP.NET 版本:2.0.50727.3053
DNN602 打開頁面提示“未將對象引用設(shè)置到對象的實(shí)例。”
慕的地6264312
2018-12-07 10:47:20