• Login
  • Register

DNN Forums

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

Errors after upgrading to 9.6

You are not authorized to post a reply.
Sort:


New Member


Posts:3
New Member

    I made this stack overflow post detailing my troubles after upgrading DNN to 9.1. I've since made the upgrade to 9.3 and then to 9.6 and the same error persists. All of the upgrades seem to have worked fine, but I still get a 500 response code on many resource requests. Most of the files being rejected are in my Portals folder, but there are other files that aren't loading as well.

    Any suggestions are much appreciated!



    Veteran Member


    Posts:788
    Veteran Member

      Can you see the files using the File Manager?

      Have you looked in /Portals/_default/logs and checked to see if errors are recorded there?

      Are errors being recorded in the Admin Logs? Can you copy one to here, or from any of the logs files?
      Joe Craig
      DNN MVP
      Patapsco Research Group


      New Member


      Posts:3
      New Member

        Hi Joe, thanks for the quick response!

        I can see in yesterdays logs that there is the following error:
        [Thread:7][ERROR] DotNetNuke.Framework.Reflection - MAI.Components.FeatureController
        System.Web.HttpException (0x80004005): Could not load type 'MAI.Components.FeatureController'.

        I think this is just an unrelated application error however, since I don't have any errors logged for today after logging in, and I still see the issue. Due to the resource files not loading, I don't even see the DNN host bar at the top of my screen. Although I am able to see a vertical bar on the left side of my screen that only appeared after the upgrade.


        Veteran Member


        Posts:788
        Veteran Member

          That error would seem to be coming from a module. Is MAI something that your recognize.

          The missing "host bar" at the top and the "vertical bar" on the left are normal. With DNN 9.x, the control panel (host bar) was replaced by the Persona Bar (vertical panel). So in 9.x, you have the Persona Bar where all of the controls are visible to logged in administrators.

          Are you able to see the missing files in the File Manager? It's available from the Persona Bar. They are called Site Assets and Global Assets, and formerly were Site and Host File Manager.
          Joe Craig
          DNN MVP
          Patapsco Research Group


          New Member


          Posts:3
          New Member

            Hi Joe,

            Apologies for the late response, the project was temporarily put on hold.

            I believe that MAI is a dependency that was used before I took over this project and is no longer used. That error seems to be popping up randomly and not actually affecting the site.

            I was able to find out that the missing resource files were due to a broken DLL file that was supposed to make the site mobile friendly. By removing this module from my web.config I was able to fix the site.

            I made the finaly upgrade to 9.8 and the site is mostly working, however now I am getting a strange error when I try to login:

            System.NullReferenceException: Object reference not set to an instance of an object.
               at DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String authType, String verificationCode, UserLoginStatus& loginStatus)
               at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String username, String password, String authType, String verificationCode, String portalName, String ip, UserLoginStatus& loginStatus)
               at DotNetNuke.Modules.Admin.Authentication.DNN.Login.OnLoginClick(Object sender, EventArgs e)
               at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
               at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
               at System.Web.UI.Page.d__523.MoveNext()

            I found this page with a similar issue: https://www.dnnsoftware.com/forums/threadid/240951/scope/posts/nullrefexcept-dotnetnukesecuritymembershipaspnetmembershipproviderupdateusermembership-userinfo 

            I'm not sure how to proceed from here. Which libraries should I try to remove? And should I be replacing them with something? Should I try running the DNN_9.8_Install package?



            Veteran Member


            Posts:788
            Veteran Member

              If you used the upgrad package to get to 9.8.0, DO NOT use the install package. That is to be used ONLY for new installs. Using it damage your DNN install fatally.

              The link to a forum post at dnnsoftware.com is likely obsolete, or does not apply to you. That was a question about DNN 4, correct? We are years away from that.

              Does your message mean that you cannot login to the site?

              Which DNN version were you using when you did the upgrade to 9.8.0.

              Do you have backups prior to the upgrade to 9.8.0? If you do, I'd return to the prior version. I think that you said that there were errors in that version. So, going back to that version and trying to fix errors before the upgrade to 9.8.0 might be a good thing to do. Then I'd start with a clean download of the 9.8.0 upgrade package, unblock it, extract the files, and try the upgrade again.

              I would also suggest that you carefully read the release notes for every DNN version that you've used since 9.1.1, assuming that is where you started. And verify that you have satisfied all of the system requirements. And that any third party modules are upgraded, etc.

              And keep asking questions as you need them.
              Joe Craig
              DNN MVP
              Patapsco Research Group
              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