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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...A Critical error has occurredA Critical error has occurred
Previous
 
Next
New Post
1/28/2010 2:00 PM
 

Hi,

I don't know whether this is a correct palce to post my thread. Please guide to get on to the right direction.

I am new to DNN..I have my website installed and running, but today morning I noticed an error soon after opening my site homepage.The error is:

A Critical error has ocurred.

Item has already been added. Key in dictionary:dnn.xmlhttp.js' key being added:'dnn.scripts.js'

When I restarted the browser. Itwas working fine. Now do I need to worry about it?is that something related to DNN or my browser?

Please help

Thanks In advance.

 
New Post
1/28/2010 2:21 PM
 

It depends on the source of the error.  THis item should be logged in the "Admin -> Event Viewer", can you post the full error detail from there for this error?


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
1/28/2010 2:41 PM
 

Thanks for getting back to me real quick Mitch.

Here is the error log and stackTrace of the exception.

UserID: -1
UserName:
ActiveTabID: 38
ActiveTabName: Home
RawURL: /Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2dc4e274-4119-473d-bdad-0d3012062e7b
InnerException: Item has already been added. Key in dictionary: 'dnn.xmlhttp.js' Key being added: 'dnn.scripts.js'
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Collections.Hashtable.Insert
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Item has already been added. Key in dictionary: 'dnn.xmlhttp.js' Key being added: 'dnn.scripts.js' ---> System.ArgumentException: Item has already been added. Key in dictionary: 'dnn.xmlhttp.js' Key being added: 'dnn.scripts.js' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at DotNetNuke.UI.Utilities.Globals.IsEmbeddedScript(String key) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientScriptBlock(Page objPage, String key, String strScript) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef) at Dnnskin.Net.SkinObjects.V2.HorizontalTheme.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:

 

Thanks Again.

 
New Post
1/28/2010 3:05 PM
 

Thanks for responding real quick.

Here is the description and stacktrace of my exception:

UserID: -1
UserName:
ActiveTabID: 38
ActiveTabName: Home
RawURL: /Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2dc4e274-4119-473d-bdad-0d3012062e7b
InnerException: Item has already been added. Key in dictionary: 'dnn.xmlhttp.js' Key being added: 'dnn.scripts.js'
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Collections.Hashtable.Insert
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Item has already been added. Key in dictionary: 'dnn.xmlhttp.js' Key being added: 'dnn.scripts.js' ---> System.ArgumentException: Item has already been added. Key in dictionary: 'dnn.xmlhttp.js' Key being added: 'dnn.scripts.js' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at DotNetNuke.UI.Utilities.Globals.IsEmbeddedScript(String key) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientScriptBlock(Page objPage, String key, String strScript) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef) at Dnnskin.Net.SkinObjects.V2.HorizontalTheme.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

Thnaks again for your help.

 
New Post
9/5/2011 6:05 PM
 
Hi,

I have a similar problem and could not find an answer in this post.

I've got this error while playing with a new module I am testing. I went to Host->Extensions-> Edit my new module and added a new control. I did not enter a new key, hoping it will tell me my error. Instead it does not let me modify my module anymore, and every time I try it gives me this error:

AssemblyVersion: 6.0.1
PortalID: 0
PortalName: Default
UserID: 4
UserName: host
ActiveTabID: 36
ActiveTabName: Extensions
RawURL: /dotnetnuke/Host/Extensions/tabid/36/ctl/Edit/mid/345/PackageID/127/portalid/0/Default.aspx?popUp=true
AbsoluteURL: /DotNetNuke/Default.aspx
AbsoluteURLReferrer: http://localhost/dotnetnuke/Host/Extensions/tabid/36/portalid/0/Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 33a5774e-2469-4521-a088-95977a937ab0
InnerException: An item with the same key has already been added.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.ThrowHelper.ThrowArgumentException
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: An item with the same key has already been added. ---> 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 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector) at DotNetNuke.Entities.Modules.ModuleControlController.GetModuleControlsByModuleDefinitionID(Int32 moduleDefID) at DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionInfo.LoadControls() at DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionInfo.get_ModuleControls() at DotNetNuke.Modules.Admin.Extensions.ModuleEditor.BindDefinition() at DotNetNuke.Modules.Admin.Extensions.ModuleEditor.BindDesktopModule(Boolean refreshDefinitions) at DotNetNuke.Modules.Admin.Extensions.ModuleEditor.Initialize() at DotNetNuke.Modules.Admin.Extensions.EditExtension.BindData() at DotNetNuke.Modules.Admin.Extensions.EditExtension.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: server

How can I fix this?

Thank you.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...A Critical error has occurredA Critical error has occurred


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