this is the exact error that I am getting:
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.