Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Too many redirects error after login as admin on a new portalToo many redirects error after login as admin on a new portal
Previous
 
Next
New Post
12/21/2017 10:45 AM
 
I have a live DNN install with several portals that work fine.
One portal has two domain aliases, say www.sitename.co.uk and www.sitename.com
My intention is to separate the www.sitename.com into a separate portal.
So I removed the alias sitename.com from the original portal.

I added a new portal with the new www.sitename.com and a new admin account as requested in the add form.

The new portal was successfully added. When I go to www.sitename.com I could now see the Getting Started DNN site that loads by default. When I go back to www.sitename.co.uk, that works fine too. So all was good so far.

Next, I decided to login with the admin account and start the process of setting up the site. I go to login page, I enter as the admin account just created but then page throws the following error, that www.sitename.com redirected you too many times. Chrome then shows the following error for the site and I cannot access the site at all unless I close the incognito browser and open it again. If I login again I will get the same error.


This page isn’t working
www.sitename.com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

By the way, I could register as a normal user on this new site and then login successfully! This worked fine. It is just I cannot login as admin or superuser without getting the too many redirects error on this new portal.

Appreciate any advice.
Using DNN 6.2.9
I also have ifinity URL installed in case it helps to know.
 
New Post
12/21/2017 6:50 PM
 
Thought to add the following as well. Upon the attempt to login as described above, I get a series of errors in DNN. They are as follows. There is a whole bunch of them one after the other:

ActiveTabName: Getting Started

RawURL: /

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.sitename.com/login.aspx?returnurl=%252f&popUp=true

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: d0d9f766-9425-4b93-b604-35e85ae21c37

InnerException: An entry with the same key already exists.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.ThrowHelper.ThrowArgumentException

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: An entry with the same key already exists. ---> System.ArgumentException: An entry with the same key already exists. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.SortedList`2.Add(TKey key, TValue value) at DotNetNuke.Entities.Modules.DesktopModuleController.GetPortalDesktopModules(Int32 portalID) at OliverHine.Modules.ControlPanel.RibbonBar.BindData() at OliverHine.Modules.ControlPanel.RibbonBar.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---


=====================
and then another one like this:
=====================


ActiveTabName: Getting Started

RawURL: /GettingStarted/def/ErrorMessage.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.sitename.com/login.aspx?returnurl=%252f&popUp=true

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: b4d98160-5e40-4145-814c-80b4d394b042

InnerException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Web.UI.ControlCollection.Add

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). ---> System.Web.HttpException: 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) --- End of inner exception stack trace ---



 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Too many redirects error after login as admin on a new portalToo many redirects error after login as admin on a new portal


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out