I has a weird problem with my dnn site today.
Some of my pages were not loading. for example browsing to mysite/default.aspx?tabid=200&iid=50 did not show the appropriate page, instead it just showed my homepage but the weird thing is the "mysite/default.aspx?tabid=200&iid=50" was still in the address bar so there wasn't actually a redirect back to the homepage.
When loggin in to my admin account the portal menu was totally dissapeared. only the host menu was still there. A clearing of the cache and restart of the application solved my problem. I have no idea why this problem occurred but nothing changed about the site. Only the server had a reboot for installing windows updates.
My log showed the following error (Any ideas on why this error ocurred?) (strange it the error shows portalID -1 while I have only 2 portals, 0 and 1)
AssemblyVersion: 04.08.04
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /default.aspx
AbsoluteURL: /default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 8f417914-50a9-4892-9f25-88ee0c6eb4bc
InnerException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Array.Copy
StackTrace:
Message: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds. at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at System.Collections.Generic.Dictionary`2.Resize() at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader, Boolean CheckForLegacyFields) at DotNetNuke.Entities.Tabs.TabController.FillTabInfoDictionary(IDataReader dr)