What I have going on is similar but the error I get is that an item with the same key is already installed, it's a [FATAL] near the end of the stack trace. The offending line is in bold, italics, underlined.
The persona bar comes up as part of the stack after the FATAL but the error states an item with the same key is already installed.
Here is the part of the stack for Persona Bar. Since the site locally is a copy of what's on Azure, I don't quite buy that there's a Persona Bar file missing. All the content was pulled down and installed. Here is
FYI , just some background, to make the local copy of the Azure site, I copied the DB on Azure, then scripted all objects from it. The procedure via SSMS of Exporting a Data Tier App and then Importing a Data Tier App has issues, there is a ticket to Azure SQL Support to remedy this.
Needing a local site, I resorted to 'Generate Scripts ...' and did a DROP and CREATE set, scripting data as needed. Ran the scripts locally, all went according to plan. Copied the content from the Web App, etc. and followed the rest of the steps in Chris Hammond's blog on installing a local copy of a site.
I've made changes to an MVC module, from Christoc's Templates. Built it in Release mode, tried both the Install and Source zips. They both fail.
Here is the error log:
2018-05-02 01:02:48,687 [RD00155D41C644][Thread:23][WARN] DotNetNuke.Entities.Tabs.TabController - Invalid tabId -1 of portal 0
2018-05-02 01:02:48,700 [RD00155D41C644][Thread:23][WARN] DotNetNuke.Web.Api.StandardTabAndModuleInfoProvider - The specified moniker () is not defined in the system
2018-05-02 01:02:48,719 [RD00155D41C644][Thread:23][WARN] DotNetNuke.Web.Api.StandardTabAndModuleInfoProvider - The specified moniker () is not defined in the system
2018-05-02 01:02:49,013 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading files
2018-05-02 01:02:49,091 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - File FirstDALMVC.dnn read successfully
2018-05-02 01:02:49,122 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - File License.txt read successfully
2018-05-02 01:02:49,169 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - File ReleaseNotes.txt read successfully
2018-05-02 01:02:49,778 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - File Resources.zip read successfully
2018-05-02 01:02:49,809 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - File bin\FirstDALMVC.dll read successfully
2018-05-02 01:02:49,888 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - File Providers/DataProviders/SqlDataProvider\00.00.01.SqlDataProvider read successfully
2018-05-02 01:02:49,922 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - File Providers/DataProviders/SqlDataProvider\Uninstall.SqlDataProvider read successfully
2018-05-02 01:02:49,952 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading files done.
2018-05-02 01:02:49,966 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading Installation Manifest file
2018-05-02 01:02:49,998 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading Package Manifest - Module - FirstDALMVC
2018-05-02 01:02:50,044 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading Component Manifest - Script
2018-05-02 01:02:50,075 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Found valid path (Providers\DataProviders\SqlDataProvider) for 00.00.01.SqlDataProvider.
2018-05-02 01:02:50,075 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Found valid path (Providers\DataProviders\SqlDataProvider) for Uninstall.SqlDataProvider.
2018-05-02 01:02:50,091 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading Component Manifest - ResourceFile
2018-05-02 01:02:50,106 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Found valid path () for Resources.zip.
2018-05-02 01:02:50,106 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Found valid path () for Resources.zip.
2018-05-02 01:02:50,122 [RD00155D41C644][Thread:17][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading Component Manifest - Module
2018-05-02 01:02:50,296 [RD00155D41C644][Thread:17][TRACE] DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication - Dumping all Application Errors
2018-05-02 01:02:50,296 [RD00155D41C644][Thread:17][FATAL] DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication - 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 DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionInfo.ReadModuleControls(XmlReader reader)
at DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionInfo.ReadXml(XmlReader reader)
at DotNetNuke.Entities.Modules.DesktopModuleInfo.ReadModuleDefinitions(XmlReader reader)
at DotNetNuke.Entities.Modules.DesktopModuleInfo.ReadXml(XmlReader reader)
at DotNetNuke.Common.Utilities.CBO.DeserializeObject[TObject](XmlReader reader)
at DotNetNuke.Services.Installer.Installers.ModuleInstaller.ReadManifest(XPathNavigator manifestNav)
at DotNetNuke.Services.Installer.Installers.InstallerFactory.GetInstaller(XPathNavigator manifestNav, PackageInfo package)
at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadComponents(XPathNavigator manifestNav)
at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadManifest(XPathNavigator manifestNav)
at DotNetNuke.Services.Installer.Installers.PackageInstaller..ctor(String packageManifest, InstallerInfo info)
at DotNetNuke.Services.Installer.Installer.ProcessPackages(XPathNavigator rootNav)
at DotNetNuke.Services.Installer.Installer.ReadManifest(Stream stream)
at DotNetNuke.Services.Installer.Installer.ReadManifest(Boolean deleteTemp)
at Dnn.PersonaBar.Extensions.Components.InstallController.GetInstaller(Stream stream, String fileName, Int32 portalId, String legacySkin)
at Dnn.PersonaBar.Extensions.Components.InstallController.ParsePackage(PortalSettings portalSettings, UserInfo user, String filePath, Stream stream)
at Dnn.PersonaBar.Extensions.Services.ExtensionsController.<>c.<ParsePackage>b__19_0(PortalSettings portalSettings, UserInfo userInfo, String filePath, Stream stream)
at Dnn.PersonaBar.Extensions.Services.ExtensionsController.<>c__DisplayClass39_1.<UploadFileAction>b__1(Object <state>)
at System.Web.AspNetSynchronizationContext.<>c__DisplayClass27_0.<Send>b__0()
at System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action)
2018-05-02 01:02:50,342 [RD00155D41C644][Thread:17][TRACE] DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication - End Dumping all Application Errors