问题将DNN 6.x升级到7.4

时间:2015-07-13 11:38:13

标签: dotnetnuke upgrade

我很难将DNN从版本6.x升级到版本7.4

我正在使用带有DNN 6的Ifnity URL Master V2.4.4。在将DNN升级到7.4之前,我首先将Ifinity URL Master从2.4升级到2.8.3,然后将DNN升级到7.4。这样做我在Default.aspx加载时遇到错误。

 500 Internal Server Error
    The requested Url does not return any valid content.

    Administrators
    Change this message by configuring a specific 404 Error Page or Url for this website.

    Exception:
    Object reference not set to an instance of an object.

    Stack Trace:
  

在DotNetNuke.Common.Globals.IsEditMode()处   DotNetNuke.Entities.Tabs.TabModulesController.GetModules(TabInfo标签)   在DotNetNuke.Entities.Tabs.TabModulesController.GetTabModules(TabInfo)   tab)at DotNetNuke.Entities.Tabs.TabInfo.get_Modules()at   iFinity.DNN.Modules.UrlMaster.Entities.TabInfoEx.Clone(TabInfo标签)at at   iFinity.DNN.Modules.UrlMaster.Data.SqlDataProvider.GetTabs(的Int32   portalId,Boolean includeAdminTabs,Boolean includeHostTabs,   Dictionary`2&安培; customAliasTabs)at   iFinity.DNN.Modules.UrlMaster.UrlMasterController.GetTabs(的Int32   portalId,Boolean includeStdUrls,PortalSettings portalSettings,   FriendlyUrlSettings设置,Dictionary2& customAliasTabsForPortal)   在iFinity.DNN.Modules.UrlMaster.UrlMasterController.GetTabs(Int32)   portalId,Boolean includeStdUrls,FriendlyUrlSettings设置,   Dictionary2&安培; customAliasTabs)at   iFinity.DNN.Modules.UrlMaster.TabDictController.BuildTabDictionary(PathSizes&安培;   pathSizes,FriendlyUrlSettings设置,Int32 buildPortalId,   ThreadSafeDictionary2 tabDict,Hashtable& homePageSkins,   ThreadSafeDictionary2&安培; portalTabPathDictionary,Guid parentTraceId)   在   iFinity.DNN.Modules.UrlMaster.TabDictController.FetchTabDictionaryLockable(的Int32   portalId,Int32& minTabPathDepth,Int32& maxTabPathDepth,Int32&   minAliasPathDepth,Int32& maxAliasPathDepth,FriendlyUrlSettings   settings,Boolean forceRebuild,Boolean bypassCache,Guid   parentTraceId)at   iFinity.DNN.Modules.UrlMaster.TabDictController.FetchTabDictionary(的Int32   portalId,Int32& minTabPathDepth,Int32& maxTabPathDepth,Int32&   minAliasPathDepth,Int32& maxAliasPathDepth,FriendlyUrlSettings   settings,Boolean forceRebuild,Boolean bypassCache,Guid   parentTraceId)at   iFinity.DNN.Modules.UrlMaster.RewriteController.GetTabFromDictionary(字符串   url,FriendlyUrlSettings设置,UrlAction结果,Guid   parentTraceId)at   iFinity.DNN.Modules.UrlMaster.RewriteController.IdentifyByTabPathEx(字符串   absoluteUri,String queryString,UrlAction result,FriendlyUrlSettings   设置,Guid parentTraceId)at   iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.CheckForRewrite(字符串   fullUrl,String querystring,UrlAction result,Boolean   useFriendlyUrls,NameValueCollection queryStringCol,   FriendlyUrlSettings设置,布尔& isPhysicalResource,Guid   parentTraceId)at   iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.ProcessRequest(HttpContext的   context,HttpRequest request,HttpServerUtility Server,HttpResponse   response,Boolean useFriendlyUrls,String requestType,Uri requestUri,   UrlAction结果,NameValueCollection queryStringCol,   FriendlyUrlSettings设置,Boolean allowSettingsChange,Guid   parentTraceId)

我不确定此错误的原因并且不确定如何转发此内容。请帮我解决这个问题。

1 个答案:

答案 0 :(得分:-1)

我也使用IFinity URL Master 2.4并从2.4升级到2.8.3所以我可以将DNN升级到7.4.2。我遇到了同样的问题。

我能解决的唯一方法是完全删除IFinity URL Master,然后升级到DNN 7.4.2。

在DNN 7.4.2中,他们已将IFinity URL Master集成到其中。然后,您必须更改web.config文件以使用您正在寻找的正确的URLFormat结果。尝试打开web.config文件并搜索URLFormat,确保其值为URLFormat =“humanfriendly”或URLFormat =“advanced”,具体取决于您希望获得的结果。