Issue during registring Service Instance of CRM


Badge +7


 

Symptoms


Issue during registring Service Instance of CRM
 

Diagnoses


Issue created a service Instance of CRM:

Error: The server was unable to process the request due to an internal error.
For more information about the error, either turn on
IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from
the configuration behavior) on the server in order to send the exception
information back to the client, or turn on tracing as per the Microsoft .NET
Framework 3.0 SDK documentation and inspect the server trace
logs.

Source: SourceCode.SmartObjects.Services.Management


No issue on development environment.
 

Resolution

Hi Mr Foucart,

ISSUE 1:
Issue created a service Instance of CRM:

Error: The server was unable to process the request due to an internal error.
For more information about the error, either turn on
IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from
the configuration behavior) on the server in order to send the exception
information back to the client, or turn on tracing as per the Microsoft .NET
Framework 3.0 SDK documentation and inspect the server trace
logs.

RESOLUTION 1:

The issue was linked to a missing right of the "K2Service-Prod" to the CRM environment.
We saw this by the following tests with the Smart Object Service Tester:
Try to register CRM Dev from K2 server Dev with account "K2Service-Dev": OK (Only this one worked)
Try to register CRM Dev from K2 server Prod with account "K2Service-Prod": KO
Try to register CRM Dev from K2 server Prod with account "K2Service-Prod": KO
Try to register CRM Prod from K2 server Dev with account "K2Service-Dev": KO
Try to register CRM Prod from K2 server Prod with account "K2Service-Dev": OK (Right click on the "Smart Object Service Tester" and choose "Run as...", choose "K2Service-Dev")

This issue was already explained in the following mail:

Mail from Pierre NOILHAN lundi 14 mars 2016 17:15
Bonjour Jacob,
Je pense qu’il faut donner le droit sur le CRM au compte AD k2service-dev. Je ne sais pas si c’est ce que vous avez mis en place.
Pierre


You can find infromation about how to setup CRM in:
https://help.k2.com/onlinehelp/K2blackpearl/ICG/4.6.11/webframe.html_CRM_Requirements.html


ISSUE 2:

In staging and pre-prod:

Smartobject Server Exception: Could not load file or assembly 'SourceCode.SmartObjects.CRM5Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Source: SourceCode.SmartObjects.Services.Management

Inner Exception: Could not load file or assembly 'SourceCode.SmartObjects.CRM5Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Source : mscorlib

According to this link:

https://help.k2.com/onlinehelp/K2blackpearl/ICG/4.6.11/webframe.html_Prerequisites_Software.html

If you want to integrate with CRM 2011, 2013 or 2015, the K2 Setup Manager will automatically install the required SDK and redistributables.


I advise to use "K2 BlackPearl Setup Manager"in order to setup the CRM and at the end of this procedure select "Repair all".





You have 2 days to accept or reject this resolution. If you feel the issue is not resolved, please reject this resolution.
Otherwise, please take the opportunity to submit feedback, using the link included in this message.

Thanks, and regards
Olivier Chatagnon




 

0 replies

Be the first to reply!

Reply