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
4/11/2008 1:50 AM
 

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, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
4/18/2008 1:08 PM
 

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 5:59 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,

 
New Post
4/22/2008 6:26 PM
 

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 4:00 PM
 

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

 
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