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...Using Modules a...Using Modules a...Cannot install MVC Module from local copy of DNN9 to Azure DNN9Cannot install MVC Module from local copy of DNN9 to Azure DNN9
Previous
 
Next
New Post
5/2/2018 1:34 AM
 
There is a similar post from 9 April, I will get that link in a few moments and edit my post.

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 

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()

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


 
New Post
5/4/2018 5:14 PM
Accepted Answer 
The problem was mismatched key names for controls in the module.

The cause was making changes in Azure and not also in Dev. The databases are now in sync and this error isn't happening now.
 
New Post
5/4/2018 5:14 PM
 
The problem was mismatched key names for controls in the module.

The cause was making changes in Azure and not also in Dev. The databases are now in sync and this error isn't happening now.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Cannot install MVC Module from local copy of DNN9 to Azure DNN9Cannot install MVC Module from local copy of DNN9 to Azure DNN9


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