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  |  

GoGrid - Deploy a Windows Server in the Cloud in Minutes!
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

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.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Method: System.Collections.Generic.Dictionary`2.Insert
Previous Previous
 
Next Next
New Post 4/10/2008 10:50 PM
User is offline ErikVB
2677 posts
www.apollo-software.nl
5th Ranked










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

Charles, i had the same error on a fairly busy site as well, although at the time of the error the visits where not that much (around 500 page views per hour).

This is the stacktrace of the error, maybe it tells you something. I would agree that it is a caching issue, hand from the differing errors, it seems to happen in diferent locations. Could we add defensive coding in tab controller to check for this error occuring, and if it does clear the cache (or maybe even do an app restart, as that seems to help)

Stack trace: 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.VerifyPortalTab(Int32 PortalId, Int32 TabId)

at DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo)

at DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo)

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)


Erik van Ballegoij, Apollo Software
If what i am saying is wrong: blame Google
MLSkinHelper: the easy way to put editable text in your skin!
Nederlandse DotNetNuke Gebruikersgroep Apollo Software
 
New Post 4/18/2008 10:08 AM
User is offline Tim Kendall
7 posts
10th Ranked


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

We are experiencing the same issue and stack error as previously mentions although we don’t have high traffic,....yet :).

I have been playing around with cache settings hoping I could find a happy medium, but it still occurs on a daily basis (for a long time now). 

We’re running 4.4.1 (which I'm going to upgrade).  Currently all caching is low because of this issue, and I'm not really interested in performance due to the amount of current traffic.  Just looking for a way avoid the random error page. Performance settings are as follows:

Page State Persistence = Page
Module Caching Method = Disk
Performance Setting: Light Caching
Authenticated Cacheability: ServerAndNoCache
Compression Setting: No Compression
Compression Level (Deflate): None
Use Whitespace Filter: False

Earlier this week  I thought a solution might be to “touch” the web.config on regular intervals and restart dnn automatically via a schedule task.  It has helped the overall system cache, but I my end users are still getting a random server error page. 

Thanks for looking into this.

 
New Post 4/21/2008 2:59 PM
User is offline Brad Schafer
26 posts
10th Ranked


Re: Method: System.Collections.Generic.Dictionary`2.Insert 
Modified By Brad Schafer  on 4/22/2008 5:34:45 PM)

Add me to the list of 'infected'.

Our environment is a 8-CPU 4Gb box (64 bit Enterprise w/ SQL 2005). 

I have finally had to add application CPU restarts to the the affected app otherwise it kills the entire box. I've tried various host cache 'settings' all to no avail.

Although it's not a 'cure' but a bandaid, it seems that Pageblaster helps... since many of our audience is 'non-registered' users. 

However the situation is pretty bad, it can peg all 8 CPU's in about 15 seconds.. so I have the app set to recycle if the CPU is > 70% for 1 min. and so it's recycling about every 10-15 mintues. Not good for user usage, since their connections keep getting reset.

This is an upgraded instance from a way's back, however, this issue seemed to have started in the 4.8.1 upgrade.

Any info would be appreciates, and yes I tried the module SQL statement for SupportedFeatures.. that didn't help.

Any suggestions or patch's would be appreciated.

 

Like the recently edited reply above, I also tried to set the host cache to 'no cache'.  That certainly didn't have the same effect for this environment, as it rapidly pegged the CPU's, I did turn off compression.. I'll be watching and editting one variable at a time to see if I can isolate it to any 'host setttings'. What's odd is the Pages/Sec... I've looked at other 'recommended' values they say about 2-3. Mine is consistently around 25-30 at 10 minute snapshots.

Cheers,


Brad Schafer

Brand Building , Lead Generation, Web Design, DNN Skin, DNN Hosting
 
New Post 4/22/2008 3:26 PM
User is offline Craig Carns
62 posts
www.ctc.com
10th Ranked




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

OK my gut feeling is that for some of us the issue was resolved in 4.81 with the fix to this issue:

DNN-7066 Tabs Collection Empty

I am running 4.7 on my infected site but it has been running smoothly since setting performance to NO CACHE.  This isnt a good solution for high capacity sites but for my scenario it works until the true problem can be fixed.

But the fix might have caused other issues or the other issues are still there. Bottom line is we need to be clear what version we are talking about in our posts so we are not mixing apples and oranges.

 
New Post 4/24/2008 1:00 PM
User is offline Brad Schafer
26 posts
10th Ranked


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

Thought I'd give an update on my experience with this issue.

I have tried the no-cache route, that seems to always just peg the SQL cpu's to 100%.

However, after noticing some event log issues (and the fact SQL always times out trying to get into it ), I truncated the EventLog table, made sure that all the event log 'max' records we're reasonable, and restarted the app.

Within seconds the event log General Exception buffers we're filled (500 entries), so it looks like this is a constant issue. However, i am getting a different but similar error now.

DNN 4.8.0

AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: An item with the same key has already been added.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at DotNetNuke.Services.FileSystem.FolderController.FillFolderInfoDictionary(IDataReader dr)
Source:

This happens constantly, and it keeps the SQL and App pools churning.. as the limit is always hit, and it's constanlty being deleted and refreshed with new errors.

This is on a production server with fairly light traffic (perhaps 1-2k visitors a day), it's becoming quite a chore to not know how to alieviate this issue, and have the event log run like a ticker tape...

Any help would be appreciated


Brad Schafer

Brand Building , Lead Generation, Web Design, DNN Skin, DNN Hosting
 
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.

 


Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com
BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com
Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com

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