Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...The dreaded redicrect loopThe dreaded redicrect loop
Previous
 
Next
New Post
7/3/2012 2:40 PM
 

Hello all,

Since yesterday afternoon, my website is in a redirect loop, no matter which page I call for. The site ran absolutely great until than. No manual editing of web.config was done prior to the occurance of the loop.

In short, I was putting a HREF link to the register page in my first text/html block on the page and wanted to test it. I clicked the link and was promptly taken to the register.aspx page, no worries so far. As I was still logged in as the host user, I clicked the logout link in the bottomright corner. After I did that, the proverbial excrement hit the fan and the site has been in a redirect loop ever since. At first I thought it was a temp problem that may have had something to do with my browser, but emptying caches, restarting browser and trying Firefox, IE, Chrome and Safari all had the same result, redirect loop.

I did some searching today and found a few pointers, I edited the web.config to alter the Trust level, to no avail, I activated the portal port line, no change.

As I am still a complete DNN novice, I frankly do not dare to dig deeper and I would really appreciate any assistance you can give me with this.

I understand that the info I give you now is rather scarse, but this is all, with my still limited knowledge of DNN can tell you, so please bear with me and let me know any other information you may require to further assist me.

Kind regards,

Erik Schulp website: www.fotopit.nl

 

 

 
New Post
7/3/2012 7:11 PM
 
Erik, edit your database, table portallocalization and make sure, LoginTabId is set to Null.
Save web.config file to restart the application and retry to login.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/3/2012 7:19 PM
 

Note: Im assuming this is your www.fotopit.nl site? If so it's not a site wide problem but localized to one page i.e.

I can browse pages such as the following fine :

http://www.fotopit.nl/OverOns.aspx
http://www.fotopit.nl/Contact.aspx

However I cannot browse
http://www.fotopit.nl

http://www.fotopit.nl/startpagina.aspx

As startpagina is clearly your home page these 2 requests are the same, suggesting the issue is localized to that. Looking at it in Fiddler (a http proxy) I can see it's in a HTTP 302 loop (i.e. a request.redirect) - there are a few ways I could guess this could happen

  • if the page has a permanent redirect set to itself e.g. open the "tabs" table and ensure PermanentRedirect is set to 0 (i.e. run a query like "SELECT *FROM [dbo].[dnn_Tabs] where tabname='Startpagina' "
  • check the portals table (e.g. select * from portals) and ensure that the logintabid is not set to the same as the hometabid i.e. if you have accidentally made the startpagine page require logged in users and also set it as the part to login it would go into a permanent loop

Im sure there are other possibilities, but thats all the occurs to me now

 

 



Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/3/2012 8:26 PM
 

Adding to Cathal's contribution, check the permissions on your startpagina page.  If you have set it to not be visible to all users, and it is the home page, you might be able to get yourself into a loop.

This is easy to check by logging in as a host user and then seeing if you still get the loop.  If you don't, probably a permissions errors.

 
New Post
7/4/2012 1:39 AM
 
@Sebastian, I checked the db and the line in there is:
LoginTabId int, null

So

 that seems to be correct.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...The dreaded redicrect loopThe dreaded redicrect loop


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out