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 ErrorToo Many Redirects Error
Previous
 
Next
New Post
5/26/2010 7:40 AM
 
Thanks for the reply, Bruce.

So there is a GENERAL EXCEPTION  in the EventLog table:

System.Exception: Unhandled Error:  ---> System.NullReferenceException: Object reference not set to an instance of an object.     at DotNetNuke.Services.Localization.Localization.GetEnabledLocales()     at DotNetNuke.Common.Globals.NavigateURL(Int32 TabID, Boolean IsSuperTab, PortalSettings settings, String ControlKey, String Language, String[] AdditionalParameters)     at DotNetNuke.Common.Globals.NavigateURL(Int32 TabID, Boolean IsSuperTab, PortalSettings settings, String ControlKey, String[] AdditionalParameters)     at DotNetNuke.Common.Globals.NavigateURL(Int32 TabID, PortalSettings settings, String ControlKey, String[] AdditionalParameters)     at DotNetNuke.Services.Syndication.RssHandler.GetRssItem(SearchResultsInfo SearchItem)     at DotNetNuke.Services.Syndication.RssHandler.PopulateChannel(String channelName, String userName)     at DotNetNuke.Services.Syndication.RssHttpHandlerBase`3.System.Web.IHttpHandler.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     --- End of inner exception stack trace

I'll start Googling this, but if you have any ideas why this is happening, please let me know.

Thanks,
Glenn
 
New Post
5/26/2010 10:01 AM
 
This error generally points to a null 'portalsettings' object, which can be one of a few things.   The 'portalsettings' object is stored in the request context when the request is made, and basically is DNN working out which portal a particular request belongs to.  In this case, it hasn't worked out which request and the call is failing.

As it is in the RSS Handler, I would try and remove the RSS handler from the home page.  I've never done that before, but something you could try would be to comment out the RSS handler in the web.config file.  Hopefully this would cause a 404 on the RSS handler instead of an error like this.  That's just a guess though.
 
New Post
5/26/2010 10:13 AM
 
I've found a couple of posts that claim this is due to not running the site in an app pool that is using the Classic ASP.NET pipeline.  I have asked my webhost to change it, but am not getting any response.

BTW, if anyone is thinking about using webhost4life as their webhost, DON'T.  They recently changed their support to be overseas and it is a nightmare.

Thanks for the reply, Bruce.
 
New Post
5/26/2010 9:00 PM
 
Glenn Goodrich wrote:
I've found a couple of posts that claim this is due to not running the site in an app pool that is using the Classic ASP.NET pipeline.  I have asked my webhost to change it, but am not getting any response.

 
I think you mean by that statement that you have to run the site in classic mode?  That's simply not true at all, and sounds to me like guessing and speculation.  There may be something wrong with the RSS handler, I couldn't be certain.  Like I said, I would try commenting out the RSS handler in the web.config file and see if that makes a difference.  A 404 on that urls is easier to deal with than a application-wide excpetion like that.

 
New Post
5/27/2010 12:57 AM
 
You mention of "My webhost recently 'upgraded' the hardware for our DNN web server" and DNN version 4.9.x brought to mind the first time I had ever encountered the infinite redirect issue when moving several of my older development sites from Windows XP/IIS 6 to Windows 7/IIS 7.5 this evening. There seems to be a problem in DNN 4.9.x when loading the System.Web.Extensions dll version 1.0.6xxxxx.0 under medium trust when System.Web.Extensions dll version 3.5.0.0 has been installed in the global assembly cache (GAC). In fact, there is an intentional redirect back to the base url whenever an exception is thrown containing the phrase "System.Web.Extensions".

Let's try the following:

1. Make a backup of your site's web.config file. VERY IMPORTANT incase this does not work!

2. Search for ALL occurances of the following reference in web.config:
           System.Web.Extensions, Version=1.0.61025.0
    and replace it with the following:
           System.Web.Extensions, Version=3.5.0.0

3. Be sure that you have replaced ALL of the above references then re-save/re-upload the modified web.config back to the site's root folder.

4. Remove the file System.Web.Extensions.dll from your site's \bin folder to a temporary location.

5. Navigate to the site and test if the issue has been resolved.

6. If the issue was not resolved, revert to your web.config backup and restore the System.Web.Extensions.dll to the \bin folder.

7. If the issue was resolved, don't thank me - thank the author of these two blog posts which resolved my issue and hopefully yours:

http://www.bestwebsites.co.nz/dotnetn...
http://www.bestwebsites.co.nz/dotnetn...

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Too Many Redirects ErrorToo Many Redirects Error


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