Symptoms
Installation - Configuration Analysis - CRM SmartObject Generation not working.
Diagnoses
I have K2 blackpearl installed and ran the configuration analysys after the installation. The CRM SmartObject Generation section shows a message stating "SmartObjects are not automatically generated due to performance reasons. Click Repair to generate SmartObjects for all CRM entities." When I click Repair the status changes to "Busy" for a second or two then displays the same message again. In the logs, found the following entry:
Create service instance: 8c00e5e4-1396-478c-8b92-d4d492a94cec
Register service instance
Error: System.Exception: VALIDATIONAccess is denied.
at SourceCode.SmartObjects.Services.Management.ServiceManagementServer.GetServiceInstanceSchema(Guid ServiceTypeGuid, String Config, Guid serviceInstanceGuid, String serviceInstanceName, String serviceInstanceDisplayName, String serviceInstanceDescription)
at SourceCode.SmartObjects.Services.Management.ServiceManagementServer.RegisterServiceInstance(Guid ServiceTypeGuid, Guid ServiceInstanceGuid, String SystemName, String DisplayName, String Description, String ConfigSettings)
at SoureCode.Install.ServiceRegister.Program.Main(Stringn] args)
Done
10:0: CrmSmartObjects.OnRepair: 14:39:57:>> Validate after repair.
Resolution
1. Perhaps it is a permission issue. Does the K2 Service account have the System Administrator Role in CRM with Full User rights as per:
http://help.k2.com/onlinehelp/K2blackpearl/ICG/4.6.9/webframe.html_CRM_Requirements.html
2. Also, is the CRM service and CRM database on the same server? If there is a Kerberos double hop situation, is Kerberos configured accordingly? Please consider enabling Kerberos logging on all relevant servers (K2, CRM, CRM database) to determine if Kerberos double hop is in play:
http://support.microsoft.com/en-us/kb/262177
K2 Host Server service <-> CRM web service <-> CRM database