none
Error when attempting to edit Custom Process (Error 1309, Code 3005) Unhandled Exception

    Question

  • Info:

    Windows Server 2008 R2

    SQL Server 2008 R2

    Dynamics CRM 2011 Rollup 11

    I'm not exactly sure when this issue started, but it was sometime within the last week. I did deploy Rollup 11 this weekend. I attempted to edit one of my Processes, and I now get an Unhandled Exception error, but only on some of them. When I look in the event viewer on the server, I see the following:

    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 11/13/2012 10:26:18 AM 
    Event time (UTC): 11/13/2012 4:26:18 PM 
    Event ID: 476411613db54eb384771786999c0b72 
    Event sequence: 4257 
    Event occurrence: 31 
    Event detail code: 0 
     
    Application information: 
        Application domain: /LM/W3SVC/4/ROOT-1-129972393268319483 
        Trust level: Full 
        Application Virtual Path: / 
        Application Path: D:\Program Files\Microsoft Dynamics CRM\CRMWeb\ 
        Machine name: SERVER02 
     
    Process information: 
        Process ID: 7428 
        Process name: w3wp.exe 
        Account name: Domain\CRM_SERVICE 
     
    Exception information: 
        Exception type: CrmException 
        Exception message: Error generating UiData
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
       at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.CreateWorkflowObjectModel(Guid workflowEntityId, Boolean useSystemUserContext)
       at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.GetWorkflowStep()
       at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureForm()
       at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    
    Operator in a binary expression must be a binary operator
       at Microsoft.Crm.Workflow.Expressions.BinaryExpression..ctor(WorkflowStep workflow, WorkflowConditionOperator binaryOperator, ExpressionBase leftOperand, ExpressionBase[] rightOperands)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadEvaluateCondition(EvaluateCondition activity)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadExpression(Collection`1 activities, Type endActivityType, Boolean customActivity, Int32& activityIndex)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadBranchStep(StepBase parentStep, Collection`1 sequenceActivities, Int32& activityIndex)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadConditionStep(Boolean wait, ConditionSequence sequence)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCompositeStep(String stepId, String description, Activity activity, Collection`1 variables)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadSingleStep(Activity activity)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
    
    Operator in a binary expression must be a binary operator
    Parameter name: binaryOperator
    
     
     
    Request information: 
        Request URL: https://domain.com/OrgName/sfa/workflow/edit.aspx?id={825A0AE0-61D9-E011-A4BB-5C260AFC36D8} 
        Request path: /OrgName/sfa/workflow/edit.aspx 
        User host address: 192.168.0.46 
        User: Domain\User 
        Is authenticated: True 
        Authentication Type: Federation 
        Thread account name: Domain\CRM_SERVICE 
     
    Thread information: 
        Thread ID: 118 
        Thread account name: Domain\CRM_SERVICE 
        Is impersonating: False 
        Stack trace:    at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
       at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.CreateWorkflowObjectModel(Guid workflowEntityId, Boolean useSystemUserContext)
       at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.GetWorkflowStep()
       at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureForm()
       at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     
     
    Custom event details: 

    Operator in a binary expression must be a binary operator : Parameter name: binaryOperator means nothing to me. Has anyone else run into this issue? It seems to affect about 3/4 of my processes.

    Thanks.



    • Edited by Mistafreeze Tuesday, November 13, 2012 4:38 PM
    Tuesday, November 13, 2012 4:37 PM

All replies

  • Hello,

    Did you ever find a resolution to this?

    Thursday, April 18, 2013 4:47 PM
  • Estou com o mesmo problema no Dynamics CRM 2013 Rollup02, alguém sabe qual a solução?

    Thursday, May 29, 2014 2:26 PM
  • Any answers for this yet? I'm getting the same I'm on Roll up 2.

    Chris

    Thursday, June 19, 2014 9:04 AM
  • Update, It also happens when I try editing an entity :-(
    Tuesday, June 24, 2014 12:14 PM
  • Can someone provide me with a solution please?

    TIA.

    Tuesday, February 17, 2015 3:36 PM
  • CRM 2013 on-prem
    Restarting of the CRM async-services and iisreset solve this issue for me.

    • Proposed as answer by Dismantled Tuesday, May 26, 2015 10:45 AM
    • Edited by Dismantled Tuesday, May 26, 2015 10:46 AM
    Tuesday, May 26, 2015 10:44 AM
  • Hi,

    We got the similar issue in MS CRM 2015 On prem version when opening the forms. When we restarted the IIS and CRM Asynchronous service resolved the issue.

    We would like to know the root cause of the issue. Can you any one explain the why this issue come and how to prevent it in future.

    Thanks in advance.

    Best Regards,

    Prasanth


    prasanth : MS CRM Developer.

    Wednesday, April 27, 2016 9:29 AM
  • I had the problem today for the first time.    I was able to reslove the problem by going in to IIS and Recycling the CRMAppPool.  A full IIS reset was not required for me.

    G

    Thursday, April 20, 2017 6:50 PM