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...Portal crashed - Index out of boundsPortal crashed - Index out of bounds
Previous
 
Next
New Post
5/31/2007 9:16 AM
 

Help!

I am running version 4.5.1. A moment ago, I was browsing my portal and I got a generic .NET error page. I logged onto my server, and this is the error:

Index was outside the bounds of the array.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[IndexOutOfRangeException: Index was outside the bounds of the array.]
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +992837
   DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader) +2049
   DotNetNuke.Entities.Tabs.TabController.GetTab(Int32 TabId, Int32 PortalId, Boolean ignoreCache) +225
   DotNetNuke.Entities.Portals.PortalSettings.VerifyPortalTab(Int32 PortalId, Int32 TabId) +403
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +2402
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +82
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2677
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

My other portals on this dnn installation seem to be fine.

I have a 2 day old backup to go back to, so if anyone has a suggestion for trouble shooting this one I would REALLY appreciate it.

 

 
New Post
5/31/2007 11:23 AM
 

I actually had the exact same problem with a very LARGE portal this morning, though they were running on 4.4.1. Luckily I had a backup from 2am that I restored and all is well again. I'm not sure what happened, but I'm fairly sure there was something wrong with the tabs table. I should of grabbed backup of the problem DB, but due to the needs of the site I needed to get it back up and running so I restored to the recent backup.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
5/31/2007 11:33 AM
 

I had that also when upgrading to 4.5.2 from 4.5.1. I ran some maintenance on the indexes and all was fine.

 
New Post
6/1/2007 4:12 AM
 

I'm happy to say I didn't need to resort to the backup. I backed up the suspect database, used it on another dnn installation and it worked fine. So I then assumed that there was something in memory that was causing the problem. I rebooted and all was fine :-)

I'm guessing that there was an in-memory collection of tab ids or something that got corrupted. (The server was working pretty hard at the time of the problem). So if you get this error, try a reboot. Hopefully someone has a less drastic workaround, or even better, a permanent fix.

 

 
New Post
8/29/2007 10:10 AM
 

I am in the middle of this Index out of bounds hell and have made a few posts. I am running some live tests on a web application and my customer is onsite at a school and we keep getting these issues. I did an IIS Reset last night and the site came back up and was working. Now when I get these errors it just kicks off the participants in this test and they were able to just rebrowse the site without an IIS Reset.

The server is under pretty good CPU load between SQLServer and w3wp.exe, sometimes peaking near 100% in bursts but not constantly. I am occassionally seeing some of these in the event log, but not at the same times as the other DNN errors.

Could the SQL Server service be recycling and causing this?

Event Type: Information
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 2803
Date:  8/29/2007
Time:  7:20:37 AM
User:  N/A
Computer: DNPSERVER01
Description:
SQL Server has encountered 1 occurrence(s) of cachestore flush for the 'Bound Trees' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.

 


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Portal crashed - Index out of boundsPortal crashed - Index out of bounds


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