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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...URL Rewrite exception ( Index out of range )  in high load situationURL Rewrite exception ( Index out of range ) in high load situation
Previous
 
Next
New Post
3/28/2008 7:05 AM
 

Hi,

 

We have recently upgraded an application built on top of DNN  and along with it  upgraded the DNN version from 4.3 to 4.5.5. .  We are facing an issue in the application in a load situation  whereby it gives an index out of range, when it tries to access the dictionary mapping tabId from friendly name.

 

The exact error is

-------------------------------------------------------------------------------------------------------------------------------

An exception of type System.IndexOutOfRangeException occurred :   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
   at DotNetNuke.Entities.Portals.PortalController.AddPortalDictionary(Int32 portalId, Int32 tabId)
   at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader)
   at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr)
   at DotNetNuke.Entities.Tabs.TabController.GetTab(Int32 TabId, Int32 PortalId, Boolean ignoreCache)
   at DotNetNuke.Entities.Portals.PortalSettings.VerifyPortalTab(Int32 PortalId, Int32 TabId)
   at DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo)
   at DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo)
   at DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-----------------------------------------------------------------------------------------------------------------------------------------------------

One charecteristic of the issue seems to be that it presists even after the load comes down, though on one occasion it stopped on
it's own, other times we had to resort to IIS Resets.
We run the application over 4 web servers load-balanced ( with sticky sessions ) with 4 worker processes in each server.
 
Any help , leads would be greatly appreciated.
 
 
Regards,
Hari

 

 

 
New Post
3/28/2008 10:15 PM
 

Hey ThoughtWorker,

I would recommend upgrading to a newer version of DNN.  I do know that was a bug in older versions of DNN.  I actualyl had a good chat wth the guys from C4 at OpenForce about it because we've both run into it before.  I believe it is fixed in DNN 4.8.2 so I would recommend upgrading first.

Always glad to help,
Tony V.   

 
New Post
4/10/2008 8:29 AM
 

Not so sure it's fixed in 4.8.2  I upgraded over the weekend and while I didn't experience this in 4.8.1  It has reappeard in 4.8.2 sigh...

 
New Post
4/11/2008 1:35 AM
 

I don't have an answer regarding the standard Friendly Url Provider, but have you tried using the alternative Friendly Url Provider that I have written?

It's available from here: http://www.ifinity.com.au/Products/Free_Downloads/#Friendly_Url_Provider/

It has a number of features over the standard provider, but in your case I'd like to know if it handles the load any better than the standard provider.  The iFinity provider uses caching of the page indexes and rebuilds the index as infrequently as possible.

I'd be interested to see how it worked for you.

-Bruce

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...URL Rewrite exception ( Index out of range )  in high load situationURL Rewrite exception ( Index out of range ) in high load situation


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