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...Index was outside the bounds of the array: System.Collections.Generic.Dictionary`2.InsertIndex was outside the bounds of the array: System.Collections.Generic.Dictionary`2.Insert
Previous
 
Next
New Post
1/26/2012 7:45 PM
 

We have a DNN 5.6.x installation where one Portal is continually throwing the following error:

------------------------------------------------------------------
DefaultDataProvider
: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 07f03b2a-49dd-4129-9297-f7a52f804232
InnerException: Index was outside the bounds of the array.
FileName
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Collections.Generic.Dictionary`2.Insert
StackTrace
Message: System.IndexOutOfRangeException: Index was outside the bounds of the array. 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.Services.Localization.Localization.GetResourceFileCallBack(CacheItemArgs cacheItemArgs) at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromDictionary(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
------------------------------------------------------------------ 

None of the other portals are showing this error. Apparently it's happening with each page load. All the postings I see for this error have to do with DNN 4.x, so I'm not sure where to start debugging this issue.

We were scheduling a service patch this weekend, but need to resolve this issue first. Our test environment, while a bit older on the data is the same version of DNN and same config - doesn't appear to have this issue. 

Could have the client (portal admin) done something to cause this?

 
New Post
1/27/2012 12:54 PM
 
it's a,known issue (shared collection race in localization) that was fixed in 6.0 (http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=15418&PROJID=2 ) - please note, as it's a race condition it depends on the number of records (i.e. will happen more often with lots of localized text) as well as CPU/RAM usage on the server. I'm very surprised it happens regularly - during out testing it was very difficult to recreate. I would recommend an upgrade to 6.x to resolve (ideally 6.1.2 - or the shortly to be released 6.1.3)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Index was outside the bounds of the array: System.Collections.Generic.Dictionary`2.InsertIndex was outside the bounds of the array: System.Collections.Generic.Dictionary`2.Insert


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