DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

upgrade from 9.1.1 to 9.3.0

Sort:
You are not authorized to post a reply.
Page 1 of 41234 > >>





New Around Here





    while trying to upgrade evoq 9.1.1 to 9.3.0, I rreceived the following error and now cant get to any site

     

    Server Error in '/' Application.


    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

    Compiler Error Message: BC30456: 'GetUserRolesByRoleName' is not a member of 'DotNetNuke.Security.Roles.RoleController'.

    Source Error:

     

     
    
    Line 496:            Dim roleCont As New DotNetNuke.Security.Roles.RoleController
    Line 497:
    Line 498:            Dim roleArr As ArrayList = roleCont.GetUserRolesByRoleName(PortalId, RoleName)
    Line 499:
    Line 500:            For Each info As DotNetNuke.Entities.Users.UserRoleInfo In roleArr


    Source File: \\Server01\DNN\App_Code\effority.UserDirectory\Controller.vb    Line: 498 






    Veteran Member





      I hope you did a backup before you upgraded?
      In DNN 9 there has been quite a cleanup of the code.
      A lot of legacy code (that was marked as legacy for years) has been removed.
      The effority user module is most likely using one of those and AFAIK this module is not developed any more.
      You have 2 options.
      A. Uninstall the module before you upgrade (and look for an alternative module, if needed)
      B. Find the source of the module and fix the compatibility issues.

       

      I'm not 100% sure, but I think the source can be found here: https://archive.codeplex.com/?p=userdirectory






      Veteran Member





        Timo's advice is sound. In addition, I'd suggest the following:

        - Restore to the original website before the upgrade.
        - Uninstall any non-core extensions that aren't in use
        - Upgrade any non-core extensions that have updates available (even and especially the commercial ones, which may require new license fees)
        - Upgrade from 9.1.1 to 9.2.2 first.
        - Test and ensure everything went well
        - If everything is good-to-go and tests well, now upgrade from 9.2.2 to 9.3.2

        DNN Platform 9.2.2: https://github.com/dnnsof.../releases/tag/v9.2.2

        Just in case it helps, here's a presentation I did at DNN Summit recently. It walks you through some of the upgrade processes we follow.

        https://www.slideshare.ne...mple-dnn-summit-2019





        Advanced Member





          Also, when you get to the step of 9.3, use 9.3.2 instead of 9.3.0 to get the latest fixes, some of which had to do with upgrades. But yes, that specific issue you are having is related to the module.





          New Around Here





            thank you all for your suggestions. the user directory module is not being used. I will remove it and try the upgrade again.

            @Daniel: we are only seeing evoq 9.3.0 on our download portal and per DNN support that is the latest version available.





            Veteran Member





              Posted By alexio1 on 24 Jun 2019 10:00 AM
              @Daniel: we are only seeing evoq 9.3.0 on our download portal and per DNN support that is the latest version available.

              That's correct, and I'm not aware of when Evoq might have their next release. :(






              New Around Here





                Iam getting ready to remove the user directory module, do I need to check delete Files?





                Veteran Member





                  Posted By alexio1 on 24 Jun 2019 01:19 PM
                  Iam getting ready to remove the user directory module, do I need to check delete Files?

                  First, be sure you back up the website files and database.  Next, in general, I'd tell you that you'd always want to delete the files.

                  The only time I don't delete the files is when I know there is a shared file I need to keep (e.g., a shared DLL in the bin folder).  Even then, I'd go in and manually delete everything else, as necessary.






                  New Around Here





                    do you know what directories the module files are stored in beside desktopmodules?





                    Veteran Member





                      Posted By alexio1 on 24 Jun 2019 02:24 PM
                      do you know what directories the module files are stored in beside desktopmodules?

                      Usually, only the DesktopModules and Bin folders. Sometimes, you'll find some of the module files in the App_Data folder as well, but it depends on the module itself.  Occasionally, you'll find files related to the module in the Portals folders, but those files are usually not something that would impact the website in any way.  It really depends on the module.

                      You are not authorized to post a reply.
                      Page 1 of 41234 > >>

                      These Forums are dedicated to the 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. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                      2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                      3. 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.
                      4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                      5. No Flaming or Trolling.
                      6. No Profanity, Racism, or Prejudice.
                      7. Site Moderators have the final word on approving / removing a thread or post or comment.
                      8. 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