locked
Workflows not running (waiting) HTTP status 417 RRS feed

  • Question

  • I have a CRM 4.0 environment on Windwows Server 2003 R2 with Rollup 12 applied.
    A user has created some simple workflows (create task when phonecall status changed to 'completed')

    When workflows are excecuted the satus reason is getting stuck in waiting state.
    The error message on these systemjobs is:

    System.Net.WebException: The request failed with HTTP status 417: Expectation failed.  at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)  at Microsoft.Crm.SdkTypeProxy.CrmService.Retrieve(String entityName, Guid id, ColumnSetBase columnSet)  at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Retrieve(String entityName, Guid id, ColumnSetBase columnSet)  at Microsoft.Crm.Asynchronous.SdkPluginDescriptionProvider.GetPluginTypeDescription(Guid pluginTypeId, IOrganizationContext context)  at Microsoft.Crm.Caching.PluginTypeCacheLoader.LoadCacheData(Guid key, IOrganizationContext context)  at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)  at Microsoft.Crm.Caching.CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)  at Microsoft.Crm.Caching.PluginTypeCache.LookupEntry(Guid pluginTypeId, IOrganizationContext context)  at Microsoft.Crm.Asynchronous.AsyncOperationCommand.GetPluginType(Guid pluginTypeId)  at Microsoft.Crm.Asynchronous.EventOperation.InternalExecute(AsyncEvent asyncEvent)  at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent asyncEvent)  at Microsoft.Crm.Asynchronous.AsyncHostHandler.Handle(AsyncEvent asyncEvent)  at Microsoft.Crm.Asynchronous.QueueManager.PoolHandler.ProcessAsyncEvent(AsyncEvent asyncEvent)

    I've checked the MS CRM Asynchronous Service, the service is running fine with no errors.

    Anyone experienced these errors before or knows a solution to this? 

    Wednesday, January 12, 2011 10:37 AM

All replies

  • Hi Sebastiaan,
    Can you check that the Microsoft CRM Asynchronous Processing (MSCRMAsyncService) running from Network Service or not?
    and check any JS is running behind & if there is any error.. which can prevent to run workflow..

    Regards, Bhaskar
    Wednesday, January 19, 2011 10:57 AM