DNN Forums

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

Persona Bar Error

Sort:
You are not authorized to post a reply.





New Around Here





    Hi,

    Accessing the Server tab produces this error:

    From the log:

    2024-02-19 13:53:20,567 [Astech-0002][Thread:71][ERROR] Dnn.PersonaBar.Servers.Services.SystemInfoApplicationHostController - System.NullReferenceException: Object reference not set to an instance of an object.
       at Dnn.PersonaBar.Servers.Services.SystemInfoApplicationHostController.GetApplicationInfo()

    From the browser console:

    Does anyone know the cause of this and how to resolve it, please?

    Thanks,

    Roger






    Veteran Member





      On https://dnnsupport.dnnsof...-missing-Persona-Bar you can correctly drill down to the issue. Might be permissions, might be an assembly binding

       

      Tjep's digital agencyRegards,
      Tycho de Waard

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





      Advanced Member





        I remember this happening after some failed upgrades. Is this the latest version, do you see any obvious errors in portals/_default/logs install log files ?





        New Around Here





          Thank you for your replies.

          My apologies - I should have included the logged error in my original post. This is what is logged:-
          2024-02-20 09:18:37,541 [Local Machine Name][Thread:108][ERROR] Dnn.PersonaBar.Servers.Services.SystemInfoApplicationHostController - System.NullReferenceException: Object reference not set to an instance of an object.
          at Dnn.PersonaBar.Servers.Services.SystemInfoApplicationHostController.GetApplicationInfo()

          My current installed CMIS version is 9.11.0

          Many thanks in advance for any additional help!

          Roger





          New Around Here





            Another member of my team has managed to resolve this issue.  The following two pieces of code were missing from the web.config file.

            In 

            <section name="htmlEditor" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />

            And in 

            <htmlEditor defaultProvider="DNNConnect.CKE">
            <providers>
            <clear />
            <add name="CKHtmlEditorProvider" type="WatchersNET.CKEditor.CKHtmlEditorProvider, WatchersNET.CKEditor" providerPath="~/Providers/HtmlEditorProviders/CKEditor/" />
            <add name="DNNConnect.CKE" type="DNNConnect.CKEditorProvider.CKHtmlEditorProvider, DNNConnect.CKEditorProvider" providerPath="~/Providers/HtmlEditorProviders/DNNConnect.CKE/" settingsControlPath="~/Providers/HtmlEditorProviders/DNNConnect.CKE/Module/EditorConfigManager.ascx" />
            </providers>
            </htmlEditor>

            Hopefully this might help someone else in the future.

            Best regards,

            Roger






            Veteran Member





              Great! Thanks for letting us know.

              Happy DNNing!
              Michael

              Michael Tobisch
              DNN★MVP

              dnnWerk Austria
              DNN Connect





              Advanced Member





                Roger, thank for sharing the final solution! 

                Ing. Marco Alvarado Gómez MSc | Globalode
                Phone. +506 6049-1880 | WhatsApp. +506 6049-1880 | Email. [email protected]
                Address. Costa Rica (A Pura Vida place!).





                Veteran Member





                  Posted By Roger-Astech on 2/20/2024 3:18 AM

                  Another member of my team has managed to resolve this issue.  The following two pieces of code were missing from the web.config file.

                  In 

                  And in 







                  Hopefully this might help someone else in the future.

                  Best regards,

                  Roger

                  Nice find!  This is one of the reasons I have a step in our normal upgrade process to manually compare and merge updates.  Over time, things like this can happen.  Sometimes, it's from a bug that was never previously discovered, and other times it's someone doing something manually to try to fix something else.  (Also, unknown mistakes happen too.)  

                   

                  You are not authorized to post a reply.

                  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