locked
I cannot publish workflows in CRM 4.0 RRS feed

  • Question

  • I cannot publish workflows in CRM 4.0, get the follow trace error.

    MSCRM Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: Request timed out.

    Error Message: Request timed out.

    Error Details: Request timed out.

    Source File: Not available

    Line Number: Not available

    Request URL: http://phl-crmdev.pfm.com/Development/_grid/cmds/dlg_activate.aspx?iObjType=4703&iTotal=1&iIndex=0&iId={AEC44B7B-7366-475F-BBA1-749DC4A5E075}

    Stack Trace Info: [HttpException: Request timed out.]

     

    [2011-06-10 13:02:36.3] Process: w3wp |Organization:e6bb1b15-7151-e011-9f7f-00505696701a |Thread:    4 |Category: Platform |User: 21a019b3-8351-e011-9f7f-00505696701a |Level: Error | MessageProcessor.Execute
    >MessageProcessor fail to process message 'SetStateDynamicEntity' for 'workflow'.
    [2011-06-10 13:02:36.3] Process: w3wp |Organization:e6bb1b15-7151-e011-9f7f-00505696701a |Thread:    4 |Category: Platform.Sdk |User: 21a019b3-8351-e011-9f7f-00505696701a |Level: Error | InProcessCrmService.Execute
    >non-plugin non- CrmException detected - report will be sent to Watson:
    System.Threading.ThreadAbortException: Thread was being aborted.
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
       at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request)
    [2011-06-10 13:02:36.3] Process: w3wp |Organization:e6bb1b15-7151-e011-9f7f-00505696701a |Thread:    4 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError
    >MSCRM Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: Request timed out.

    Error Message: Request timed out.

    Error Details: Request timed out.

    Source File: Not available

    Line Number: Not available

    Request URL: http://phl-crmdev.pfm.com/Development/_grid/cmds/dlg_activate.aspx?iObjType=4703&iTotal=1&iIndex=0&iId={1B447F5D-B3B0-47D6-8651-1BF93AAC9E43}

    Stack Trace Info: [HttpException: Request timed out.]

     

     

    Friday, June 10, 2011 5:13 PM

All replies

  • Would you confirm that the Microsoft Async Service is running?

    Jerry
    CRM Innovation
    Need a solution for CRM to help you manage Events or Email Marketing?
    Follow me on Twitter


    Jerry CRM Innovation - Need a solution for CRM to help you manage Events or Email Marketing? Follow me on Twitter
    Friday, June 10, 2011 5:22 PM
  • Hi,

    It seems like the webservice timeout is occuring, i would suggest you to rstart IIS service and try again.

    1. in command propmt type iisreset and hit enter (Any website hosting in the web server will be unavailable till IIS service restarts completed)


    Jehanzeb Javeed

    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile

    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    Friday, June 10, 2011 5:37 PM
  • Microsoft Async Service is running
    David Jenkins Sr. Systems Engineer The PFM Group 2 Logan Square STE, 1600 Philadelphia PA, 19103 215.567.6100 Phone 215.567.4180 fax
    Friday, June 10, 2011 5:49 PM
  • Did the iisreset, but still cannot publish the workflows.
    Friday, June 10, 2011 6:03 PM
  • Hi David,

    Can you tell us if this issue hapens for all WF?

    Meanwhile, try to restart the Microsoft CRM Async Service and try again

    regards

    Friday, June 10, 2011 6:42 PM
  • I restarted the async service again, still cannot publish workflows.

    The issues appears to happen with all workflows.

    Friday, June 10, 2011 7:29 PM
  • Try to increase the timeout parameters in the CRM Web.Config file and try Again, you must change the following tags:

    In  CRMWeb Folder on the CRM Installation direcctory:

    <httpRuntime executionTimeout="300" maxRequestLength="8192"/> for this one <httpRuntime executionTimeout="3600" maxRequestLength="20000"/>

    The Workflows you're try to publish runs by a plugin or they are natives?

    Thursday, June 16, 2011 5:03 PM