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 ...CanCan't add new portal after upgrading to dnn 6.1.3
Previous
 
Next
New Post
2/26/2012 10:29 PM
 

Error creating Profile Definitions
No matter what I do, I get that error - choosing domain.com or IP, choosing anyone of the 4 options for template, use current user or enter new ...
It gives that error but the portal is there without site alias, users or pages.
Can't hit edit button beside site.

Looked at DB, there appear to be some entries in portals (but no administerroleid) or any entries at all in portalalias table.

How do I fix this Profile Definitions error?

The very first time I tried to add new site, event manager shows:
InnerException: An item with the same key has already been added.
What key ???
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 System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) at DotNetNuke.Common.Lists.ListController.<>c__DisplayClass1.<ListEntryInfoItemsToDictionary>b__0(ListEntryInfo x) at System.Collections.Generic.List`1.ForEach(Action`1 action) at DotNetNuke.Common.Lists.ListController.ListEntryInfoItemsToDictionary(IEnumerable`1 items) at DotNetNuke.Common.Lists.ListController.GetListEntryInfoDictionary(String listName) at DotNetNuke.Entities.Portals.PortalController.ParseProfileDefinitions(XmlNode nodeProfileDefinitions, Int32 PortalId) at DotNetNuke.Entities.Portals.PortalController.CreateProfileDefinitions(Int32 portalId, String templatePath, String templateFile)

 
New Post
2/28/2012 7:36 PM
 
please compare the stored procedure being used (addPortal, I assume) with the one from a local blank DNN installation - maybe it has not properly been upgraded. Which template are you using - it needs to be created in same version as you are running atm.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/1/2012 9:10 PM
 
the stored procedure is same. Templates, tried all from installation plus copied all from new installation and tried them too.
Still can't add portal
 
New Post
3/6/2012 9:16 PM
 
Does anyone know how to troubleshoot this? I can't add new portal ...
It adds the portal # and name but nothing else, no url, users, pages, etc.

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

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.ThrowHelper.ThrowArgumentException

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 System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) at DotNetNuke.Common.Lists.ListController.<>c__DisplayClass1.b__0(ListEntryInfo x) at System.Collections.Generic.List`1.ForEach(Action`1 action) at DotNetNuke.Common.Lists.ListController.ListEntryInfoItemsToDictionary(IEnumerable`1 items) at DotNetNuke.Common.Lists.ListController.GetListEntryInfoDictionary(String listName) at DotNetNuke.Entities.Portals.PortalController.ParseProfileDefinitions(XmlNode nodeProfileDefinitions, Int32 PortalId) at DotNetNuke.Entities.Portals.PortalController.CreateProfileDefinitions(Int32 portalId, String templatePath, String templateFile)
 
New Post
3/7/2012 6:43 PM
 
I finally fixed this ... it seems under Lists | Data Types that the item DotNetNuke.UI. WebControls.CheckEditControl, DotNetNuke had 2 entries for some reason. I removed one entry and now I'm able to add portals again.

On a side note, I haven't tried to add a portal for quite awhile, so this fault may have been present in previous versions of DNN.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...CanCan't add new portal after upgrading to dnn 6.1.3


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