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 ...'Too many redirects' loop on a brand new install ! Was working at first.
Previous
 
Next
New Post
1/26/2011 1:20 PM
 
Hello,

New installation, succesfully completed yesterday the 'Typical' installation wizard untill end. Last page was greetings on new default portal, with link to free Admin guide (downloaded) and resourcse links. So it was working !

But.. this morning, a refresh on the same page http://localhost/DotNetNukePro/Defaul... which Title is the default "My Website > Home"  produces in Chrome, a:

This webpage has a redirect loop.

The webpage at http://localhost/DotNetNukePro/Default.aspx has resulted in too many redirects.
The webpage at http://localhost/DotNetNukePro/Instal... has resulted in too many redirects
depending on how I reach, but so, a loop between these 2...

I'm with XP, IIS 5.1 with all the rest to the latest version.

The Windows => Start => Control Panel => Admin Tools => 'Event Viewer is not really helpful, at least I can see that a 'ping' on the SQL Server Express is happening..

Help!


 
New Post
1/27/2011 10:00 PM
 
i haven't see this in a while, but before it was possible to see this if your site was not running .net 3.5 sp1 or higher, or else had a system.web.extensions.dll file in the BIN folder (if one is there please remove it)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/4/2011 6:57 PM
 
Thanks Cathal, it's running .NET 4.0.3 and I haven't seen system.web.extensions.dll or anything approaching this syntax.

It has happened twice, and a complete reboot took care of it , but of course if there was a way to understand the cause..  This is just a local installation for now, no consequence, but utlimately one need to be able to support an organization's production site.
Is there a trace that I can enable for clues?

The context is that I was trying, from within SSMS, to 'attach' to:
 
C:\Inetpub\wwwroot\DotNetNukePro\App_Data\Database.mdf

Basically, the DNN default portal Home.aspx says:
'Oops.. looks like it's not installed, redirect to install_wizard.aspx' 
which says:
'Ok installed already, redirect to /Home.aspx'
and so on, entering loop..

 
New Post
2/5/2011 7:20 AM
 
Ah, it seems you're using the user instances option for sqlexpress i.e. your connectionstrings have attachdbfilename (http://msdn.microsoft.com/en-us/library/bb264564(v=sql.90).aspx) . This is fine, but user instances create an automatic connection and instance the database for the applications usage - this means that a single connection only is supported, so you cannot attach the database in another application such as vs.net/SSMS otherwise you lock the application out (see http://msdn.microsoft.com/en-us/library/bb264564(v=sql.90).aspx#sqlexpuser_topic9). If you want to directly access the database as well as allow the application to access it you need to detach the database, add it to sql server/sql express and stop using user instances i.e. update the connection string to be a conventional connectionstring.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/7/2011 2:25 PM
 
Thanks so much for this precision shot, right on target.

It all starts to make sense now, I thought it could relate but wasn't sure...

Two things:
1) I'd suggest to DNN development team a more robust exception handling: I don't see the core DNN source code at the moment and won't write the change myself, but wherever the redirect to install.aspx is in Home.aspx, PLEASE do not blindly assume an incomplete installation and pass the ball back in the hands of install.aspx, just like a hot-potato! ;) Wrap this redirect instead with a more robust exception handling.

2) I will recommend to the DNN core resources in my other thread on this
http://www.dotnetnuke.com/Resources/Forums/tabid/795/forumid/107/threadid/405086/scope/posts/Default.aspx :
- to change ASAP the current wizard installation screen "Configure Database Connection" Select Database radio-button field, which as this time states "if you are using SQL Server 2005/2008 Express then you should use the File option".
According to general knowledge and wisdom seen in 3 DNN book writers and bloggers and your explanation, this is just NOT the case, i.e. if you expect to see your DotNetNuke database from within SSMS, then this is the last thing you want to do! But until you know it, you don't, and I've clicked like probably many the 'Express' radio-button, having the 'Express' SQL Server 2008 R2 installed, and comforted by the wizard statement. It should be explicit in this wizard screen, that it's instead NOT the right choice!

We're in 2011, and I see in Mitchel's 2008 blog http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/271.aspx
that it's been mentioned already as "a very common stumbling block as individuals will know that the database exists, however, SSMS will not show the database at all, until it has ben successfully attached." ...

And people continue to stumble.. and most likely some let the WCMS comparing communities know of their experience.. I think it needs attention quick. Installers like us with an IT background but newer to SQL Server and .NET, go 'Express' for local sand-box installations but not realizing they really click on this 'dynamically attached" database pitfall and won't see a DotNetNuke database from within what their 'duly' installed SSMS.

Thanks again Cathal!
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...'Too many redirects' loop on a brand new install ! Was working at first.


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