2013-10-25 43 views
1

升级DNN过程中得到以下错误System.NullReferenceException期间DotNetNuke的错误System.NullReferenceException:升级DNN

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 
+0

什么是您的开始和升级版本,它在升级过程中停止了哪些步骤。您是使用自动升级还是手动启动它?我们需要更多信息来帮助你。 –

+0

我们手动更新 – khawarPK

+0

我在从6.1.5升级后出现同样的问题。升级没有任何错误,但当我点击查看网站并尝试转到任何页面时,我都得到了这个。 – EfficionDave

回答

1

我可以通过比较新鲜的web.config文件来解决这个7.1.2安装到我的升级实例。我做了很多改变,我不确定哪个改变了它,但是看起来问题在于web.config设置不正确。

0

我用贴here

解决“编辑的web.config,取而代之的3.5.0.0所有条目与4.0.0.0(是的,全部替换)” 然后我进行升级,并没有遇到错误这次。