• Login
  • Register

DNN Forums

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

cannot login using super admin

You are not authorized to post a reply.

New Member

New Member


    I have an error after I've upgraded dnn when I'm trying to login using super admin 
    in the page coming err_too_many_redirects 

    and in the log this message is coming 

    [ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=65&def=ErrorMessage

    System.Web.HttpException (0x80004005) : The controls collection cannot be modified because the control contains code blocks (i.e. <% . . . %>).

    at System.Web.UI.ControlCollection.Add(Control child)

    at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage)

    Basic Member

    Basic Member

      We're gonna need a little bit more...
      - From what version to what version?
      - Did you take a giant leap or steps?
      - What third party modules / themes are you using?
      - Multi language?

      Veteran Member

      Veteran Member

        As Tycho's questions made allude to you, we definitely need to know more in order to be more helpful.  Sometimes, when I run into this, it can be one of the following:

        • The URL provider and/or it's setting(s) in the web.config file (compare yours to a clean installation of the same version of DNN)
        • Bad PortalAlias settings in the PortalAlias table in the database (also check the default alias in the PortalSettings table).
        • A rogue module and/or HttpModule that's controlling URL's.

        One thing I sometimes do to help troubleshoot this is to use a tool like Fiddler to instead the requests and responses after turning on debugging (in DNN itself and in the web.config).  It doesn't always help.  That really depends on the underlying issue that's causing the redirects.  

        Will Strohl

        Upendo Ventures Upendo Ventures
        DNN experts since 2003
        Official provider of the Hotcakes Commerce Cloud and SLA support
        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