weird error causes portal to crash and cant find why and how
Edit Quote Reply
Recently we have goten the following error 2 times
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20070312 Firefox/188.8.131.52
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error:
Message: System.Exception: Unhandled Error: ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader)at DotNetNuke.Entities.Tabs.TabController.GetTab(Int32 TabId, Int32 PortalId, Boolean ignoreCache)at DotNetNuke.Entities.Portals.PortalSettings.GetPortalByTab(Int32 TabID, String PortalAlias)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)--- End of inner exception stack trace ---
Server Naam: NUZ01
It happened randonly 2 times, no tabs have been added that could cause this to same table entries or anything what I think could cause an error like this. So far we have been able to get rid of this error by changing something in the skin and then restart application by canching web.config.
I dont know why the skin changing would changethis but when I originally asked this to some dnn contacts that was the only solution that seemed to work.
Another thing we noticed if that if we are logged in as host, and go to an admin view the menu there only shows the tabs before the error but both times they were differnet, the fist time it was in the middle of the list of tabs and the last occurrence we only had one tab and that was home, the rest of the tabs only led to homepage...
Anyone knkow what can be causing this because it gettig to be a serious problem