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

Error on adding dialog to solution

$
0
0

We have performed a migration upgrade of our Dynamics CRM 2011 solution through CRM 2013, CRM 2015, CRM2016 and finally an in-place upgrade to Dynamics 365 (December 2016 update).

We are not able to add certain dialogs to solutions because of an error.

Steps to reproduce:

  1. Open a solution
  2. Click Add existing, choose Process
  3. Select a process of type Dialog
  4. Error

Findings:

  • An AJAX call to an asmx service apparently to check dependencies of the process  returns 500 
  • A javascript error occurs
  • The GUI displays “Invalid user authorization” inside the Add-popup

Web Service Plug-in failed in SdkMessageProcessingStepId: {<GUID>}; EntityName: solutioncomponent; Stage: 30; MessageName: RetrieveExternalRequiredComponents; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=8.0.0.0

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

<?xml version="1.0" encoding="utf-8" ?><soap:Envelope xmlns:soap="schemas.xmlsoap.org/.../envelope" xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema"><soap:Body><HasSolutionComponents xmlns="schemas.microsoft.com/.../WebServices"><objectId>&#123;<GUID>&#125;</objectId><objectType>4703</objectType></HasSolutionComponents></soap:Body></soap:Envelope>

This is the response (500)
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="schemas.xmlsoap.org/.../envelope" xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; An unexpected error occurred.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>

Viewing all articles
Browse latest Browse all 46379

Trending Articles



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