Salesforce

Dynamics CRM Troubleshooting (Magic xpi 4.9)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Dynamics CRM Troubleshooting (Magic xpi 4.9)

Q1

When using the Dynamics CRM connector to add an attachment to an email, I cannot open the attachment through the Magic xpi Studio and I get the "Error 1250: Dynamics CRM call error: com.magicsoftware.ibolt.dynamicscrm.IBDynamicsCRMException: createOperation (AxisFault): Server was unable to process request." Error. How can I prevent this happening?

A1

To successfully open such an attachment, you first need to convert the body of the email from BLOB to Base64 with the BlobToBase64 function. For example, BlobToBase64 (File2Blb ('D:\1.txt')).

Q2

Why am I getting the “Metadata contains a reference that cannot be resolved: 'https://nordicguaranteesandbox.crm4.dynamics.com//XRMServices/2011/Organization.svc?wsdl&sdkversion=8.1'” error when I try to fetch the list of organizations' names from the Dynamics CRM server?

A2

To resolve this issue, make sure that your .NET framework is configured to support TLS 1.2.

.NET 4.0 does not enable TLS 1.2 by default. To enable TLS 1.2 by default perform the following steps:

In the following two registry keys, set the SchUseStrongCrypto DWORD value to 1:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319

Reference
Attachment 
Attachment