RE: Dynamics CRM 8.2 on-prem: different SQL servers on the dev and prod systems
Hi Johao!
The issue with a component state is the following:
1. I'm unregistering existing plugin assembly (usually plugins, but not workflows)
2. I'm trying to import a new version of a managed solution to the target environment. This version contains the same plugin assembly but with some modifications that are not compatible with a previous version. e.g. step was renamed/removed. or something that usually throws an exception while importing.
3. I'm getting an error while importing like "There should not be more than one component instance for a solution being upgraded"
The way how I'm resolving it:
After removing there are a lot of images, messages, plugin types, assemblies that have component state 2 or overwrite time is not default one. After removing all of them I can import my managed solution without any issues.
To import solutions I'm using a package deployer
Please let me know if you need additional details