• Login
  • Register

DNN Forums

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

Error after logging in

You are not authorized to post a reply.
Sort:


New Member


Posts:7
New Member

    Our DNN site is version 9.1.1.  When we create a new login, if they enter the correct username and password, the following error is generated if they are an administrator.  When we make them a SuperUser, they are logged in as expected.  This only happens in Portal 0.  We have 25 portals in the installation, and they work fine.

    AbsoluteURL:/Default.aspx

    DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

    ExceptionGUID:8c9d6a0e-bddd-4632-bf8c-7d2d9fecfd3b

    AssemblyVersion:

    PortalId:-1

    UserId:-1

    TabId:-1

    RawUrl:

    Referrer:

    UserAgent:

    ExceptionHash:uIjmmv9QDiYPT4AEja34hF7/814=

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

    StackTrace:

     

     

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

    InnerStackTrace:

    at DotNetNuke.Entities.Users.UserProfile.GetPropertyValue(String propName) at DotNetNuke.Entities.Users.UserProfile.get_PreferredTimeZone() at Dnn.PersonaBar.Library.Containers.PersonaBarContainer.GetConfigration(PortalSettings portalSettings) at ASP.desktopmodules_admin_dnn_personabar_usercontrols_personabarcontainer_ascx.__RenderPersonaBarPanel(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at DotNetNuke.Framework.DefaultPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     

    Source:

    FileName:

    FileLineNumber:0

    FileColumnNumber:0

    Method:

    Server Name: 

     

    When we try an view their profile, we get this:

     

    Error: ViewProfile is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Users.ProfilePropertyAccess.DisplayDataType(ProfilePropertyDefinition definition) at DotNetNuke.Modules.Admin.ViewProfile.ViewProfile.OnLoad(EventArgs e) --- End of inner exception stack trace ---



    Advanced Member


    Posts:190
    Advanced Member

      It is not exactly the same as you are experiencing but https://github.com/dnnsoftware/Dnn.Platform/issues/2413 is also addressing 'redirect after login' issue. The code that should be fixing it (https://github.com/dnnsoftware/Dnn.Platform/pull/2275) was in relation to multi lingual and fixed in 9.4. If you were to upgrade, I'd bump to 9.4.1.
      As you are on 9.1, please beware that a lot of code has been deprecated. It is still very doable in most cases but take the right steps.
      Tjep's digital agencyRegards,
      Tycho de Waard

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


      Basic Member


      Posts:39
      Basic Member

        is there a workaround I can use?


        Basic Member


        Posts:39
        Basic Member

          Did you ever solve this problem or find a workaround?

          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