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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Server Error in Server Error in '/' Application
Previous
 
Next
New Post
5/12/2008 11:00 AM
 

 

Hello,

I am hosting a DNN 4.8.1 site  and I am using Periscope IT to monitor the uptime of the site. 

I noticed that the site randomly goes down with a Server Error in "/" Application error - and when I contacted the hosting company they stated the site is not down but asleep.  In fact, they say that DNN sites take longer to wake up than normal site - and hence the error.

Regardless of whether the site is down or asleep , a visitor would see an error page.  Can this issue be resolved?

This link below will take you to the detailled report.

 

You can see the site was down for 2 hours in all.

I have also pasted the error a user would see if they went to the website when it was down or 'asleep':

Server Error in '/' Application.

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) +1199395
DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader) +2254
DotNetNuke.Entities.Tabs.TabController.GetTab(Int32 TabId, Int32 PortalId, Boolean ignoreCache) +225
Inventua.HrefExchanger.HttpFilter.ReplaceDNNTabID(Byte[] buffer, Int32 offset, Int32 count) +1788
Inventua.HrefExchanger.HttpFilter.Write(Byte[] buffer, Int32 offset, Int32 count) +1425
System.Web.HttpWriter.Filter(Boolean finalFiltering) +251
System.Web.HttpResponse.FilterOutput() +97
System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +54
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 
New Post
5/12/2008 11:18 AM
 

This error is less frequent in 4.8.2, from my experience, but is still an issue occassionaly.

One approach to a temporary fix might be to setup your application pool to recycle every X number of minutes, perhaps 30-90 minutes.

My understanding of what is occuring is this: The cache starts to lose objects after a certain period of time, probably shorter on busy sites. For some reason when DNN then goes to get a list of "Tabs" for your portal, it gets it back from cache but the list is incomplete, and a failure occurs. If you recycle the app pool all is well for a while as the cache gets reloaded completely when the app starts back up.


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
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Server Error in Server Error in '/' Application


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