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 StartedInstalling DNN ...Installing DNN ...Upgrading from 4.9.1 to 5.5 and the site is now in a redirect loopUpgrading from 4.9.1 to 5.5 and the site is now in a redirect loop
Previous
 
Next
New Post
8/27/2010 5:36 PM
 
I finally figured out the problem.  To find it I setup remote debugging on the server and then put break points on all the Redirect statements in the UrlRewriteModule.vb. The redirect that was causing the loop is on line 430. Working backwards I found that on line 416 the PortalAliasController.GetPortalAliasByTab would refuse to return an alias for the tab that was retrieved on line 199 using the TabController.GetTabByTabPath.  I discovered that the tab being returned by GetTabByTabPath was marked as deleted.   I queried the Tab in SQL Server and found that the TabPath was '//default'.  

Here is what it looked like in SQL:
 TabID PortalID  TabName TabPath  IsDeleted 
 254 default  //default  1

Now it all made sense.  DNN was attempting to redirect to a deleted default page and got stuck in a redirect loop.  I simply deleted this row from the Tabs table and the redirect problem was resolved.    

It seems that PortalAliasController.GetPortalAliasByTab refusing to return a PortalAlias for deleted Tab is the correct behavior.  Should TabController.GetTabByTabPath return tabs that have been deleted?

I am not sure how I ended up having a deleted tab with a TabName of Default.  This site has been around since the DNN 3 days and upgraded along the way.  I tried to add a page with the name of "Default' and DNN 5.5 will not allow it, so that is good.   I was able to recreate the problem by adding a page.  Then deleted that page.  Then ran the following SQL update 'update tabs set TabPath = '//default',tabname='default' where tabid = 254' using the TabID of the page I just deleted.

Aaron Jackson
 
New Post
8/28/2010 11:18 AM
 
I submitted a bug post about this almost a years ago, basically showing how their upgrade processes leave lots of fragments in the database and asked the DNN team how they were going to keep things in sync.  Nothing ever happened with that bug submission as far as I know.

If you compare a database from a fresh install of 5.5 to say an install that was upgraded from 4.9 to 5.5 you will find they are VASTLY different.  Good luck on the upgrade paths guys!

Also see here for more inconsistencys in the database after upgrade: http://www.dotnetnuke.com/tabid/795/f...
 
New Post
8/28/2010 11:24 AM
 
See unresolved bug post here: http://support.dotnetnuke.com/issue/V...

and here: http://support.dotnetnuke.com/issue/V...

For more information on the vast differences between databases from an upgrade versus a fresh install.  These inconsistencys are going to ultimately come back to haunt you, like it did me.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading from 4.9.1 to 5.5 and the site is now in a redirect loopUpgrading from 4.9.1 to 5.5 and the site is now in a redirect 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