升级DNN期间发生DotNetNuke错误System.NullReferenceException

升级DNN期间发生DotNetNuke错误System.NullReferenceException,dotnetnuke,dotnetnuke-module,Dotnetnuke,Dotnetnuke Module,升级DNN期间获取以下错误System.NullReferenceException: Server Error in '/' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception

升级DNN期间获取以下错误System.NullReferenceException:

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.  

Stack Trace: 


[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Common.Globals.get_Status() +78
   DotNetNuke.Entities.Urls.RewriterUtils.OmitFromRewriteProcessing(String localPath) +39
   DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +207
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

我可以通过比较7.1.2的新安装的web.config和升级的实例来解决这个问题。我做了很多更改,但我不确定是哪一个做了更改,但问题似乎在于web.config设置不正确。

我通过将新安装的7.1.2的web.config与升级的实例进行比较,解决了这个问题。我做了很多更改,我不确定是哪一个造成了差异,但问题似乎在于web.config设置不正确。

我使用了发布的解决方案

编辑web.config并将3.5.0.0的所有条目替换为4.0.0.0(是的,全部替换)
然后我执行了升级,这次没有遇到错误。

我使用了发布的解决方案

编辑web.config并将3.5.0.0的所有条目替换为4.0.0.0(是的,全部替换)
然后我执行了升级,这次没有遇到错误。

您的启动和升级版本是什么,升级过程中它在哪一步停止。您是使用自动升级还是手动启动它。我们需要更多信息来帮助您。从6.1.5升级后,我也遇到了同样的问题。升级没有错误,但当我点击查看网站并尝试转到任何页面时,我得到了这个消息。您的启动和升级版本是什么,升级过程中它在哪一步停止。您是使用自动升级还是手动启动它。我们需要更多信息来帮助您。从6.1.5升级后,我也遇到了同样的问题。升级没有错误,但当我点击查看网站并尝试转到任何页面时,我得到了这个消息。