Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Server Error in '/' Application
Previous Previous
 
Next Next
New Post 5/12/2008 8:00 AM
User is offline LetsChatSeo.com
4 posts
www.LetsChatSeo.com
10th Ranked


Server Error in '/' Application 

 

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 8:18 AM
User is offline Chris Hammond
2642 posts
engagesoftware.com
5th Ranked








Re: Server Error in '/' Application 

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
Engage Software
St. Louis, MO
314.966.4000


The leading provider of DotNetNuke skinning, training and custom module development.
Official DotNetNuke® Training Provider
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Server Error in '/' Application
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Swanzey Internet Group LLC
DotNetNuke design, development, hosting, maintenance, and training. Exclusively DotNetNuke.
www.swanzey.com
Lucede Systems Group
Providing a full range of IT services for large and medium sized companies
www.lucede.com
Adaptive InfoSystems, Inc.
We provide custom programming and various levels of support for DotNetNuke and the .Net framework.
www.aisysweb.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP