DNN Forums

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

DNN 10: Redirect loop, and error: Method not found: 'System.Collections.Generic.Dictionary'

 2 Replies
 0 Subscribed to this topic
 33 Subscribed to this forum
Sort:
Author
Messages
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!

Hi again -

Testing DNN 10.1.1 on a test website, in just one of my sites (portals), I'm getting a redirect loop "site redirected too many times", and in the logs I see this error:

Method not found: 'System.Collections.Generic.Dictionary`2 DotNetNuke.Entities.Portals.PortalController.GetPortalSettingsDictionary(Int32)'.

One thing about this particular site, is that when you browse to it, it takes you first to the login page, because all pages on this site are only accessible to logged in users. So that probably has somethng to do with the reirect issues. (Of course there is no such issue on the production site running DNN 9.13.3, or another test site running 9.13.7).

I've looked at the most common causes of redirect loops - SSL, URL Rewrite, incorrect portal alias, browser cache, etc, and none of those seem to be the issue. 

I tried copying code from a different (working) skin on the page site skin, to see if the issue was in the skin/theme, but still get the redirect.

Anyone have any insight on how to fix this?

Thanks - more error detail below - 

Tom

 



 

 

 

AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:da30bf5b-334c-4143-a25b-98b2d7b5c654

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:sY+yfiiwdGQcrpdDDJ0jjDXbNcU=

Message:Method not found: 'System.Collections.Generic.Dictionary`2 DotNetNuke.Entities.Portals.PortalController.GetPortalSettingsDictionary(Int32)'.

StackTrace:

   at DotNetNuke.Authentication.OpenID.Config..ctor(Int32 portalID)
   at DotNetNuke.Authentication.OpenID.Config.GetConfig(Int32 portalId)
   at DotNetNuke.Authentication.OpenID.Login.get_Enabled()
   at DotNetNuke.Modules.Admin.Authentication.Login.BindLogin()

InnerMessage:

InnerStackTrace:

Source:DotNetNuke.Authentication.OpenID

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: SCTAS35

Advanced Member
Posts: 207
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
I've had some issues with assigning login pages, but I've not found out exactly why.

My first suggestion would be to upgrade to v10.1.2 and see if the problem still exists.
Advanced Member
Posts: 228
Advanced Member
New Poster
New Poster
Congrats on posting!
It looks as though this redirect issue was fixed by removing two old Authentication extensions: DNN_OpenIDAuthentication and DNN_LiveIDAuthentication
I was also seeing an issue in Security >> Aunthentication >> Basic Login Settings as seen on this thread : https://dnncommunity.org/...in-dnn-10-1-1/#14165
I didn't suspect that these issues were related, but it appears to have fixed this issue!

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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