• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

DNN 9.1.1 to 9.3.2 Error after upgrade

You are not authorized to post a reply.
Sort:


New Member


Posts:1
New Member

    Hi All,

    I've spend the day trying to upgrade from DNN 7.4 to DNN 8.0.4 then DNN 9.1.1.
    All of them upgraded success with a little issues (had to turn off some schedule tasks to make 8.0.4 to 9.1.1 work)

    The issue now is that I tried to upgrade from 9.1.1 to 9.3.2, now recieving these errors which I cant find out how to fix.

    If someone has any suggestions or if these errors look familar, any information is handy at this point :) thank you!

     [WebVM][Thread:7][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.IndexOutOfRangeException: TermsTabId
       at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
       at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
       at System.Data.SqlClient.SqlDataReader.get_Item(String name)
       at DotNetNuke.Entities.Portals.PortalInfo.Fill(IDataReader dr)
       at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr)


     [WebVM][Thread:7][FATAL] DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication - System.NullReferenceException: Object reference not set to an instance of an object.
       at DotNetNuke.Entities.Portals.PortalInfo.get_HomeDirectoryMapPath()
       at DotNetNuke.Entities.Portals.PortalSettingsController.LoadPortal(PortalInfo portal, PortalSettings portalSettings)
       at DotNetNuke.Entities.Portals.PortalSettings.BuildPortalSettings(Int32 tabId, PortalInfo portal)
       at DotNetNuke.HttpModules.UrlRewrite.BasicUrlRewriter.RewriteUrl(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



    Basic Member


    Posts:105
    Basic Member

      As the error mentions the url rewriting, I would suggest to verify that the rewriting in the web.config is set to advanced.
      In my own sites that part looks like:

      https://www.screencast.com/t/LTlduFFc5

      Tjep's digital agencyRegards,
      Tycho de Waard

      Tjep's digital agency
      We just love DNN
      https://www.tjeps.com


      New Member


      Posts:6
      New Member

        Hi Tycho,

        Good idea, we changed that value from "humanonly" to "advanced" and recieved this on page load:

        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:
        at DotNetNuke.Entities.Portals.PortalInfo.get_HomeDirectoryMapPath() at DotNetNuke.Entities.Portals.PortalSettingsController.LoadPortal(PortalInfo portal, PortalSettings portalSettings) at DotNetNuke.Entities.Portals.PortalSettings.BuildPortalSettings(Int32 tabId, PortalInfo portal) at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.ProcessRequest(HttpContext context, Uri requestUri, Boolean useFriendlyUrls, UrlAction result, FriendlyUrlSettings settings, Boolean allowSettingsChange, Guid parentTraceId)

         

        Also in .log file

         

        2019-11-07 09:59:53,634 [WebVM][Thread:17][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.IndexOutOfRangeException: TermsTabId
           at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
           at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
           at System.Data.SqlClient.SqlDataReader.get_Item(String name)
           at DotNetNuke.Entities.Portals.PortalInfo.Fill(IDataReader dr)
           at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr)


        2019-11-07 09:59:53,821 [WebVM][Thread:17][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.NullReferenceException: Object reference not set to an instance of an object.
           at DotNetNuke.Entities.Portals.PortalInfo.get_HomeDirectoryMapPath()
           at DotNetNuke.Entities.Urls.CacheController.FindFriendlyUrlParmsConfigFilePath(Int32 portalId, Boolean& portalSpecificFound)
           at DotNetNuke.Entities.Urls.CacheController.GetParameterRedirects(FriendlyUrlSettings settings, Int32 portalId, List`1& messages)


        2019-11-07 09:59:53,868 [WebVM][Thread:17][ERROR] DotNetNuke.Entities.Urls.UrlRewriterUtils - System.NullReferenceException: Object reference not set to an instance of an object.
           at DotNetNuke.Entities.Portals.PortalInfo.get_HomeDirectoryMapPath()
           at DotNetNuke.Entities.Portals.PortalSettingsController.LoadPortal(PortalInfo portal, PortalSettings portalSettings)
           at DotNetNuke.Entities.Portals.PortalSettings.BuildPortalSettings(Int32 tabId, PortalInfo portal)
           at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.ProcessRequest(HttpContext context, Uri requestUri, Boolean useFriendlyUrls, UrlAction result, FriendlyUrlSettings settings, Boolean allowSettingsChange, Guid parentTraceId)
         

        You are not authorized to post a reply.

        These Forums are dedicated to discussion of DNN Platform.

        For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

        1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
        2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
        3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
        4. No Flaming or Trolling.
        5. No Profanity, Racism, or Prejudice.
        6. Site Moderators have the final word on approving / removing a thread or post or comment.
        7. English language posting only, please.

        Would you like to help us?

        Awesome! Simply post in the forums using the link below and we'll get you started.

        Get Involved