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  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Method: System.Collections.Generic.Dictionary`2.Insert
Previous Previous
 
Next Next
New Post 1/21/2008 1:59 PM
Unresolved
User is offline Sid Chaudhari
114 posts
www.umaisa.com
9th Ranked


Method: System.Collections.Generic.Dictionary`2.Insert 

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.umaisa.com support@umaisa.com
 
New Post 1/22/2008 1:43 AM
User is offline Sebastian Leupold
13566 posts
www.deutschnetnuke.de
1st Ranked












Re: Method: System.Collections.Generic.Dictionary`2.Insert 

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


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 1/23/2008 6:14 AM
User is offline nejohnson2
4 posts
10th Ranked


Re: Method: System.Collections.Generic.Dictionary`2.Insert 

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 6:57 AM
User is offline Sid Chaudhari
114 posts
www.umaisa.com
9th Ranked


Re: Method: System.Collections.Generic.Dictionary`2.Insert 

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.umaisa.com support@umaisa.com
 
New Post 1/29/2008 7:35 AM
User is offline Harish Nair
11 posts
10th Ranked


Re: Method: System.Collections.Generic.Dictionary`2.Insert 

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Method: System.Collections.Generic.Dictionary`2.Insert
 


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.

 


Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com
Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com

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