Symptom
You are receiving below errors while trying to activate the Communication Scenario file or the entire Solution.
Error saving MCPG for XYZ.csd, where XYZ is the file path of communication scenario file.
Instance with the same key already exists
Environment
SAP Cloud Application Studio
Reproducing the Issue
-
Login to SDK
-
Open the Solution
-
Select the Communication Scenario
-
Right Click and select Activate
-
Error appears
Cause
You have selected services of same name in the communication scenario(.CSD) file. One in the Standard Inbound/Outbound Services and another in the Custom Inbound/Outbound Services section. That means you have created a custom service with the same name as a standard service in your solution.
Resolution
In order to resolve this issue, either you have to deselect one of the services or re-create the custom WSID with a different name other than standard. By performing this you can select both the standard and custom services in the same CSD file.
Keywords
Activation of csd fails unable to activate communication scenario , KBA , error in csd , error saving mcpg for , instance with the key already exists , AP-RC-BDS-WS , ByDesign Studio Web Services , Problem