locked
CRM 2011: while running workflow Method not found: 'Void Microsoft.Xrm.Sdk.Workflow.Activities.GetEntityProperty.set_RefreshWorkflowConditionParameters(Boolean)'. RRS feed

  • Question

  • Hi,

    i get the following error every time i run a workflow.

    Method not found: 'Void Microsoft.Xrm.Sdk.Workflow.Activities.GetEntityProperty.set_RefreshWorkflowConditionParameters(Boolean)'.
    
    Plugin Trace:
    
    [Microsoft.Crm.Workflow: Microsoft.Crm.Workflow.Activities.ConditionSequence]
    [ConditionStep1]
    
    
    
    Error Message:
    
    Unhandled Exception: System.MissingMethodException: Method not found: 'Void Microsoft.Xrm.Sdk.Workflow.Activities.GetEntityProperty.set_RefreshWorkflowConditionParameters(Boolean)'.
       at Microsoft.Crm.Workflow.Services.ConditionActivityService.Execute(NativeActivityContext executionContext, ConditionSequence conditionSequence, Variable`1 executionPointer)
       at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    
    

    i removed all the steps in order to debug. i came to know the problem lies on using following conditional statement. if don't use it then it all works perfectly.

    any help will be hugely appreciated.

    regards

    im

    Wednesday, September 4, 2013 9:40 AM

All replies

  • Got it working. it seems there were some old dlls hiding in my server's GAC. using gac util i have removed them.

    first i ran the following code on GACutil to look for both Microsoft.Xrm.Sdk and Microsoft.Xrm.Sdk.Workflow (once for each)

    gacutil /l Microsoft.Xrm.Sdk

    when i say than there one item there in the list, i have run the following code to remove it

    gacutil /u Microsoft.Xrm.Sdk

    more information for how to run GAC util is in this link


    Wednesday, September 4, 2013 11:46 AM