Hi All
I have a new install of CRM 2015 Update 1. No workflows will run either in realtime or background. if in background the workflow just stays in the "Waiting" state and if in realtime I get the following business process error:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: A procedure imported by 'Microsoft.VisualBasic.Activities.Compiler.dll' could not be loaded.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>A procedure imported by 'Microsoft.VisualBasic.Activities.Compiler.dll' could not be loaded.</Message>
<Timestamp>2015-11-19T23:09:39.892027Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>
[Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.SyncWorkflowExecutionPlugin]
[5cd44092-128f-e511-80cb-000d3ad02bf5: ]
Starting sync workflow 'Contact Created', Id: 52d44092-128f-e511-80cb-000d3ad02bf5
Sync workflow 'Contact Created' terminated with error 'A procedure imported by 'Microsoft.VisualBasic.Activities.Compiler.dll' could not be loaded.'
</TraceText>
</OrganizationServiceFault>
There is nothing in the workflow itself that could be failing as I have tried several simple workflows with no custom coding and even empty workflows attached to different entities ran as the user, organisation, cleaning up logs, not cleaning up logs etc. every possible combination of settings.
There seems to be missing files or missing permissions for the CRM service account but I have since added the CRM service account to the administrators group and still get the same result.
Has anyone had this issue before or know of anything else to check?
Regards
Nick