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 ...Method: System.Collections.Generic.Dictionary`2.InsertMethod: System.Collections.Generic.Dictionary`2.Insert
Previous
 
Next
New Post
1/21/2008 5:59 PM
 

I keep getting the following error on my dotnetnuke installation and it is pretty consistent. At times when this happens all menus seems to disappear. It happens regularly everyday without fail. I have researched on internet and tried almost every single solution however nothing seems to work - including the famous query to update the desktopmodules table and setting the supportedfeatures to 0 where it is -1. I get the following everytime there is a application restart event. It happens in next 3 mints of application start event. CAN SOMEBODY PLEASE HELP? any or EVERY Help is very HIGHLY AND SINCERELY APPRECIATED. This is a PROD issue and I am afraid it will cause more harm as every day passes by.

AssemblyVersion: 04.08.00
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /default.aspx
AbsoluteURL: /default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 794fa016-a9b3-48f1-9c8d-cb30c6c66af4
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Collections.Generic.Dictionary`2.Insert
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. 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)
Source:
Server Name: SINGLE32

Sincerely,
Sid.


www.dotnetnuke.umaisa.com dnnsupport@dotnetnuke.umaisa.com - free DNN support - www.dotnetnuke.umaisa.com/dnnsupport
 
New Post
1/22/2008 5:43 AM
 

check the tabs table in your database for duplicate entries (same folder and same name).


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/23/2008 10:14 AM
 

Same exact issue, been dealing with it for months. The website grinds to a halt and the pages begin to timeout. Proc usage on internet server from w3wp.exe bounces between 65% and 95% and the sqlserver.exe process on the database server pegs at 100%. A trace on sql sees hundreds of getTabPermissionByPortal being executed at the time when it happens.

 

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: fb67d6e3-fc87-4c5e-99e0-9b1b466f5fa0
InnerException: Index was outside the bounds of the array.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Collections.Generic.Dictionary`2.Insert
StackTrace:
Message: 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.AddTabPathDictionary(Int32 portalId, String tabPath, Int32 tabId) at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader) at DotNetNuke.Entities.Tabs.TabController.FillTabInfoDictionary(IDataReader dr)

 
New Post
1/25/2008 10:57 AM
 

Sebastian, apologies for I was trying to gain read only production access to look into prod db. I looked into prod db and no duplicates in tabs table?

any clue, this one has been bringing our site to almost a halt once every 24 hours, most problematic is it brings to halt at random not at same time, which is killing us.

please guide if you know any more things to look for.

Sincerely,
Sid.


www.dotnetnuke.umaisa.com dnnsupport@dotnetnuke.umaisa.com - free DNN support - www.dotnetnuke.umaisa.com/dnnsupport
 
New Post
1/29/2008 11:35 AM
 

hi guys,

Its surprising that this has not been resolved particularly with the huge community that dotnetnuke has.  I too am facing this issue and again as Sid on Prod.  It occurs very randomly and now that someone pointed out, i guess it might after a application restart.  I will have monitor it further, but the good news is that this was discussed earlier on at http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/33/threadid/164437/scope/posts/Default.aspx, but there's no reason or solution mentioned there which would gurantee a solution.

Any help would be highly appreciated on this one...HELP!!  Its very tough explaining these errors and why they occurred!!  Below is the message that my application got

 

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) +2255
DotNetNuke.Entities.Tabs.TabController.GetTab(Int32 TabId, Int32 PortalId, Boolean ignoreCache) +220
DotNetNuke.Entities.Portals.PortalSettings.VerifyPortalTab(Int32 PortalId, Int32 TabId) +317
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +2413
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2760
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 

regards
harish

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Method: System.Collections.Generic.Dictionary`2.InsertMethod: System.Collections.Generic.Dictionary`2.Insert


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