Products

Solutions

Learn More

Partners

Community

Blog

About

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 ... An item with the same key has already been added. An item with the same key has already been added.
Previous
 
Next
New Post
8/29/2014 9:30 AM
 
to fix this issue in DNN 7.3.2, please get solution from http://www.dnnsoftware.com/community-...

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/7/2014 7:44 AM
 

Hello Sebastian,

 

The problem is still there also in7.3.3

AssemblyVersion:7.3.3

PortalID:0

PortalName: xxxxxxxxxxxxxxxx

UserID:1

UserName:host

ActiveTabID:105

ActiveTabName:Pages

RawURL:/en-us/Admin/Pages

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://xxxxxxxxxxxxl/en-us/Host/Host-Settings/portalid/0

UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:e6536ec6-9c4f-4c7f-a115-59605e7cc6b3

InnerException:An item with the same key has already been added.

FileName:

FileLineNumber:0

FileColumnNumber:0

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

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.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 DotNetNuke.Web.UI.WebControls.DnnSkinComboBox. (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.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 ---
 
New Post
11/1/2014 3:02 AM
 

Just to contribute since I had the same problem and Cathal's recommendation has solved the issue, I'm displaying my PortalSettings table, having 2 culture codes: en-us as the default and el-gr as the secondary:

0 Security_CaptchaLogin False 3 2014-09-01 01:18:04.280 3 2014-09-05 20:46:41.747 el-gr
0 Security_CaptchaLogin False 3 2014-07-31 02:53:26.357 3 2014-10-01 04:33:16.693 en-us
0 Security_CaptchaRegister False 3 2014-09-01 01:18:04.230 3 2014-09-05 20:46:41.710 el-gr
0 Security_CaptchaRegister true 3 2014-07-31 02:53:26.343 3 2014-10-17 03:00:12.240 en-us
0 Security_CaptchaRetrivePassword False 3 2014-09-01 01:18:04.317 3 2014-09-05 20:46:41.783 el-gr
0 Security_CaptchaRetrivePassword False 3 2014-07-31 02:53:26.370 3 2014-10-01 04:33:16.743 en-us
0 Security_DisplayNameFormat [FIRSTNAME] [LASTNAME] 3 2014-09-01 01:18:04.140 3 2014-09-01 01:18:04.140 el-gr
0 Security_DisplayNameFormat [FIRSTNAME] [LASTNAME] 3 2014-08-04 06:32:06.970 3 2014-08-04 06:32:06.970 en-us
0 Security_EmailValidation ^\s*[a-zA-Z0-9_%+#&'*/=^`{|}~-](?:\.?[a-zA-Z0-9_%+#&'*/=^`{|}~-])*@(?:[a-zA-Z0-9_](?:(?:\.?|-*)[a-zA-Z0-9_])*\.[a-zA-Z]{2,9}|\[(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)])\s*$ 3 2014-09-01 01:18:04.160 3 2014-09-05 20:46:40.270 el-gr
0 Security_EmailValidation ^\s*[a-zA-Z0-9_%+#&'*/=^`{|}~-](?:\.?[a-zA-Z0-9_%+#&'*/=^`{|}~-])*@(?:[a-zA-Z0-9_](?:(?:\.?|-*)[a-zA-Z0-9_])*\.[a-zA-Z]{2,9}|\[(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)])\s*$ 3 2014-07-31 02:53:26.320 3 2014-10-01 04:33:16.237 en-us
0 Security_RequireValidProfile False 3 2014-09-01 01:18:04.213 3 2014-09-05 20:46:41.083 el-gr
0 Security_RequireValidProfile False 3 2014-07-31 02:53:26.340 3 2014-10-01 04:33:16.617 en-us
0 Security_RequireValidProfileAtLogin True 3 2014-09-01 01:18:04.300 3 2014-09-05 20:46:41.767 el-gr
0 Security_RequireValidProfileAtLogin True 3 2014-07-31 02:53:26.363 3 2014-10-01 04:33:16.723 en-us
0 SMTPEnableSSL N 3 2014-09-05 20:44:02.330 3 2014-09-05 20:46:38.830 el-gr
0 SMTPEnableSSL N 3 2014-07-31 02:53:26.270 3 2014-10-01 04:33:15.567 en-us
0 SMTPmode h 3 2014-09-05 20:44:02.257 3 2014-09-05 20:46:30.623 el-gr
0 SMTPmode h 3 2014-07-31 02:53:26.207 3 2014-10-01 04:33:15.500 en-us
0 SMTPPassword eot6a6pTKrQw3xcQXfUjwQ== 3 2014-09-01 01:18:03.900 3 2014-10-18 04:52:59.937 el-gr
0 SMTPPassword xppaV48H6XDw4XgTc8+OtA== 3 2014-07-31 02:53:26.263 1 2014-10-21 00:21:33.113 en-us
0 SSLEnabled False 3 2014-09-01 01:18:04.010 3 2014-09-05 20:46:40.147 el-gr
0 SSLEnabled True 3 2014-07-31 02:53:26.287 3 2014-10-01 04:33:15.597 en-us
0 SSLEnforced False 3 2014-09-01 01:18:04.017 3 2014-09-05 20:46:40.150 el-gr
0 SSLEnforced True 3 2014-07-31 02:53:26.290 3 2014-10-01 04:33:15.600 en-us
0 TimeZone GTB Standard Time 3 2014-09-05 20:44:02.247 3 2014-09-05 20:46:30.617 el-gr
0 TimeZone GTB Standard Time -1 2014-07-23 16:29:10.473 3 2014-10-01 04:33:15.493 en-us
0 Twitter_APIKey TwvS8Of1U29FZOIRHTnjMhrj3 3 2014-10-12 03:59:17.980 3 2014-10-12 03:59:17.980 en-us
0 Twitter_APISecret tKFR1Ty8mwiHjWrq4XzObOgiQxUUgqx0wcU0VjNixdHzddXmtp 3 2014-10-12 03:59:18.007 3 2014-10-12 03:59:18.007 en-us
0 Twitter_Enabled True 3 2014-10-12 03:59:18.013 3 2014-10-12 03:59:18.013 en-us

To clarify cathal's words, one needs to delete every occurrence of the secondary culture code from PortalSettings table, apart from one, i.e. SearchAdminInitialization, that is met only in el-gr culture.

Indeed an application pool is needed after the deletion operation of the table and immediately after that you will notice the favourite icon to be displayed in the appropriate place of the Admin -> Site settings section :)

I really appreciate Cathal's guideline - it solved my issue - it made me feel better, for another time !!

Thanks Cathal.


Panagiotis Mylonas Managing Director InteliBrain http://InteliBrain.gr
 
New Post
11/1/2014 3:26 AM
 
Pagos,
this is exactly the Situation to be solved by the improved GetPortalSetting/GetPortalSettings procedures in FixPortalSettings script.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/1/2014 3:36 AM
 

Sebastian,

My name is Panos and not Pagos, first of all.

I disagree with you, and my practice of 4 lost days with problems prove my argument, beyond nay of your disputes.

I'm not in the position to verify that your script do this, but your script brings side-effects, side-effects that I don't have now that I reverted to a painful DB instance prior to the GetPortalSettings script.

Also, your script does not seem to cater for 3-party modules, like the one that I retain in my portal.

I did state, in details, the side-effects that I did have, in various posts of mine, here and in codeplex.

I did not get the support that I expected from you.

I did feel in my skin, the "run-at-your-responsibility" torture.


Panagiotis Mylonas Managing Director InteliBrain http://InteliBrain.gr
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ... An item with the same key has already been added. An item with the same key has already been added.


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out