2013-10-25 44 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(是的,全部替換)」 然後我進行升級,並沒有遇到錯誤這次。