I don't have the .10 templates laying around so I exported a .11 one and started importing and debuging a fresh install with the modules installed that are not core ones.
Ok, I did some more digging and here is what I can tell you so far.
1) the module it complains about has 2 view controls that are added to the page from one definition in the admin dropdown. This module uses IMC to talk back and forth and update displays based on this. When it bombs here and I go to the page this module is on, both views are there along with the content.
I can't get to far debuging without the page timing out, and ideas here?
I did trace this down to around line 1350...
If Not IsInstance Then
'Add new module
intModuleId = objModules.AddModule(objModule)
If templateModuleID > 0 Then
hModules.Add(templateModuleID, intModuleId)
End If
Else
If I add a try catch block around hModules.Add, the wizard finishes, but the page also has 2 copies of the module now, so 4 controls in all. and this is logged...
AssemblyVersion: 03.00.11
Method: System.Collections.Hashtable.Insert
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: DNN30
UserID: 1
UserName: host
ActiveTabID: 51
ActiveTabName: Site Wizard
AbsoluteURL: /Dnn30/Default.aspx
AbsoluteURLReferrer: http://localhost/DNN30/Admin/SiteWizard/tabid/51/Default.aspx
ExceptionGUID: dc2b38af-6d68-48bd-b01a-43155251c97a
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Item has already been added. Key in dictionary: "434" Key being added: "434"
Message: Item has already been added. Key in dictionary: "434" Key being added: "434"
StackTrace: 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\DotNetNuke\components\Portal\PortalController.vb:line 1354
Source: mscorlib
Server Name: BAMF
My exception is a bit different, but simular, so I will add that also...
[ArgumentException: Item has already been added. Key in dictionary: "433" Key being added: "433"]
System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +955
System.Collections.Hashtable.Add(Object key, Object value) +11
DotNetNuke.Entities.Portals.PortalController.ParsePanes(XmlNode nodePanes, Int32 PortalId, Int32 TabId, PortalTemplateModuleAction mergeTabs, Hashtable hModules) +1548
DotNetNuke.Entities.Portals.PortalController.ParseTab(XmlNode nodeTab, Int32 PortalId, Boolean IsAdminTemplate, PortalTemplateModuleAction mergeTabs, Hashtable hModules) +1461
DotNetNuke.Entities.Portals.PortalController.ParseTabs(XmlNode nodeTabs, Int32 PortalId, Boolean IsAdminTemplate, PortalTemplateModuleAction mergeTabs) +132
DotNetNuke.Entities.Portals.PortalController.ParseTemplate(Int32 PortalId, String TemplatePath, String TemplateFile, Int32 AdministratorId, PortalTemplateModuleAction mergeTabs) +1141
DotNetNuke.Modules.Admin.PortalManagement.SiteWizard.Page_FinishWizard(Object sender, WizardEventArgs we) +228
DotNetNuke.Services.Wizards.Wizard.OnFinishWizard(WizardEventArgs e) +26
DotNetNuke.Services.Wizards.Wizard.Finish(Object sender, CommandEventArgs e) +52
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +110
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +115
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
System.Web.UI.Page.ProcessRequestMain() +1292
[PageLoadException: Item has already been added. Key in dictionary: "433" Key being added: "433"]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +346
DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +363
System.Web.UI.TemplateControl.OnError(EventArgs e) +109
System.Web.UI.Page.HandleError(Exception e) +68
System.Web.UI.Page.ProcessRequestMain() +2100
System.Web.UI.Page.ProcessRequest() +218
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
HTH's,
Dave