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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListForm and List - An entry with the same key already exists. (Error)Form and List - An entry with the same key already exists. (Error)
Previous
 
Next
New Post
1/19/2010 6:30 AM
 

Hello, I just insert the module Form & List 5.01.01 on one of my websites ... I configure the module without problems, but ...
When I try to create my first table, the system returns me this error:
Error: not available at this time.
DotNetNuke.Services.Exceptions.ModuleLoadException: An entry with the same key already exists. ---> System.ArgumentException: An entry with the same key already exists. at System.ThrowHelper.ThrowArgumentException (ExceptionResource resource) at System.Collections.Generic.TreeSet `1.Add (T item) at System.Collections.Generic.SortedDictionary` 2.Add (TKey key, TValue value) at DotNetNuke.Modules. UserDefinedTable.DataType.get_ObligateDataTypes () at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.GetFieldsTable (AddNewColumn Boolean, Boolean AddTrackColumns) at DotNetNuke.Modules.UserDefinedTable.Configuration.BindFields (Boolean blnInsertField) at DotNetNuke.Modules.UserDefinedTable.Configuration.Page_Load (Object sender, EventArgs e) --- End of inner exception stack trace ---

I tried to uninstall and reinstall the module. I have also tried installing the previous version 5.00.03, but the problem persists ...

Any Idea?

Thank you all.

 
New Post
1/19/2010 7:26 AM
 

Is this error recorded while FnL5.1.1 was installed? It looks like your assemblies are outdated - the error doesn't fit to the current code.

 
New Post
1/19/2010 7:33 AM
 

Hello again ...
Researching the error, I followed the following steps ...
Uninstall the module
Install the version 3.05.01 (I checked that it works)
Install version 5.01.01
From here, the error is displayed (as follows) when trying to add or edit a field

DotNetNuke.Services.Exceptions.ModuleLoadException: An entry with the same key already exists. ---> System.ArgumentException: An entry with the same key already exists. at System.ThrowHelper.ThrowArgumentException (ExceptionResource resource) at System.Collections.Generic.TreeSet `1.Add (T item) at System.Collections.Generic.SortedDictionary` 2.Add (TKey key, TValue value) at DotNetNuke.Modules. UserDefinedTable.DataType.SystemDataTypes () at ASP.desktopmodules_userdefinedtable_configuration_ascx.__DataBinding__control28 (Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding (EventArgs e) at System.Web.UI.WebControls.ListControl.OnDataBinding (EventArgs e) at System.Web.UI.WebControls.ListControl.PerformSelect () at System.Web.UI.WebControls.BaseDataBoundControl.DataBind () at System.Web.UI.Control.DataBindChildren () at System.Web.UI.Control.DataBind (Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind () at System.Web.UI.Control.DataBindChildren () at System.Web.UI.Control.DataBind (Boolean raiseOnDataBinding) at System.Web.UI.Control . DataBind () at System.Web.UI.WebControls.DataGrid.CreateItem (itemIndex Int32, Int32 dataSourceIndex, ListItemType itemType, Boolean DataBind, Object DataItem, DataGridColumn [] columns, rows TableRowCollection, PagedDataSource PagedDataSource) at System.Web.UI. WebControls.DataGrid.CreateControlHierarchy (Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding (EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind () at DotNetNuke.Modules.UserDefinedTable.Configuration.BindFields ( blnInsertField Boolean) at DotNetNuke.Modules.UserDefinedTable.Configuration.cmdAddField_Click (Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
1/19/2010 10:43 AM
 

Ok, I checked the code, and it might be caused by an error in the language pack, especially in
DesktopModules/UserDefinedtable/App_LocalResources/SharedResources.*

Either there are some datatypes setup with the identical type name or the localization for some datatypes are missing and your portal is missing a fallback language.

 


 

 
New Post
1/19/2010 1:08 PM
 

I have reviewed the resources (*. resx) language and I see no problem ...
On the website, instaladosdos languages are Spanish and English. Although English is disabled. If active the English language, the error remains the same.
What are my options to repair the error?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListForm and List - An entry with the same key already exists. (Error)Form and List - An entry with the same key already exists. (Error)


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