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 ...Blog module failing template importBlog module failing template import
Previous
 
Next
New Post
5/16/2006 9:28 AM
 

Look at this thread:

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/mid/2108/forumid/92/threadid/36495/scope/posts/Default.aspx

Main point in the thread is that I export a portal with blog installed in it. When I try to create a new portal with the exported template I get this error:

DotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added. Key in dictionary: "820" Key being added: "820" ---> System.ArgumentException: Item has already been added. Key in dictionary: "820" Key being added: "820" at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at DotNetNuke.Entities.Portals.PortalController.ParsePanes(XmlNode nodePanes, Int32 PortalId, Int32 TabId, PortalTemplateModuleAction mergeTabs, Hashtable hModules) in c:\inetpub\wwwroot\DNN\components\Portal\PortalController.vb:line 1381 at DotNetNuke.Entities.Portals.PortalController.ParseTab(XmlNode nodeTab, Int32 PortalId, Boolean IsAdminTemplate, PortalTemplateModuleAction mergeTabs, Hashtable& hModules, Hashtable& hTabs, Boolean IsNewPortal) in c:\inetpub\wwwroot\DNN\components\Portal\PortalController.vb:line 1183 at DotNetNuke.Entities.Portals.PortalController.ParseTabs(XmlNode nodeTabs, Int32 PortalId, Boolean IsAdminTemplate, PortalTemplateModuleAction mergeTabs, Boolean IsNewPortal) in c:\inetpub\wwwroot\DNN\components\Portal\PortalController.vb:line 1041 at DotNetNuke.Entities.Portals.PortalController.ParseTemplate(Int32 PortalId, String TemplatePath, String TemplateFile, Int32 AdministratorId, PortalTemplateModuleAction mergeTabs, Boolean IsNewPortal) in c:\inetpub\wwwroot\DNN\components\Portal\PortalController.vb:line 568 at DotNetNuke.Entities.Portals.PortalController.CreatePortal(String PortalName, String FirstName, String LastName, String Username, String Password, String Email, String Description, String KeyWords, String TemplatePath, String TemplateFile, String HomeDirectory, String PortalAlias, String ServerPath, String ChildPath, Boolean IsChildPortal) in c:\inetpub\wwwroot\DNN\components\Portal\PortalController.vb:line 172 at DotNetNuke.Modules.Admin.PortalManagement.Signup.cmdUpdate_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\DNN\admin\Portal\Signup.ascx.vb:line 286 --- End of inner exception stack trace ---

Where 820 is the module id of Blogs. If I remove blogs from the portal then it can be imported successfully. This is line 1381 in PortalController.vb which is throwing exception: hModules.Add(templateModuleID, intModuleId)

It is due to some repeating entries in exported template file. The reason for this repeation is that five rows in table ModuleDefinitions are referring to 1 row in DesktopModules.

Schelian has said that this is not a module specific issue. So coud anyone please tell me why is this happening? Is there anything bad I have done which is causing this issue. How can I fix this.   

 
New Post
5/19/2006 8:43 AM
 
I replied to the related thread as I'm seeing this same error with only the blog module. I have a fresh DNN 4.0.2 install and only have this template issue when trying to include the blog. I'm receiving the same error as above.

Any ideas?

I there some modification to the template that can be made to workaround this problem so that the Blog module can be included?
 
New Post
8/2/2006 4:29 PM
 

Also see here

DNNP-3708

Cheers

Alex

 



Alex Shirley


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Blog module failing template importBlog module failing template import


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