Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

ConfigurationMigration inserts some duplicate UII-Actions on the target Dynamics instance

$
0
0

Hello everyone,

Given two Dynamics 365 trial-instances (both have the following solutions already installed)

- DynamicsUnifiedServiceDesk 2.2.0.755

- UiiForMicrosoftDynamicsCRM2011 3.5.0.755

I exported my USD configuration on instance1 (my export-schema contains all entities from the "Dynamics Unified Service Desk" solution)

There are two types of Hosted controls I want to migrate:

- Manager1 (CTI Desktop Manager)

- CCAHostedApp1 (CCA Hosted Application)

Both of these controls do have a few "predefined" UII-Actions  - at least that's what I think, because I did not add any UII-Actions manually.

I can start my USD and it loads the two components without showing any error (and no duplicates in the instance1 configuration).

I import the configuration on instance2 by using the DataMigrationUtility (version=2.2.2.804)

I then switch my USD to the instance2 and upon startup I get the error "The hosted application "Manager1" couldn't be created. Contact your administrator". Same for the "CCAHostedApp1" hosted control.

In the USD-logfile I see the following error:

System.ArgumentException: An item with the same key has already been added.

at System.ThrowHelper.ThrowArgumentException....

..... and so on

When I open the UII-Action list of the hosted controls I see that the following UII-Actions are there twice:

- Manager1: "RealignWindow"

- CCAHostedApp1: "default"

The data.xml does NOT contain duplicates for the two hosted controls!

I delete the duplicates and restart USD - no errors anymore.

So long history short question: how do I migrate the USD configuration from one instance to the other without having duplicate UII-Actions on the target instance.

The error is reproducible on a third instance :(

Thanks!


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>