Error occurred while Loading Workflow

I have created a NEW simple StateMachineWorkflow project. Upon creation the designer view tries to render and I get the following error:

Error occurred while Loading Workflow

An error occurred while loading the workflow Please correct the following error and try reloading the document to view the Workflow

CodeDomDesignerLoaderNoRootSerializer

Non StateMachine projects seem to work fine.

Any thoughts




Answer this question

Error occurred while Loading Workflow

  • Vikram Bade

    Do you see a similar behavior when you create an "Empty Workflow Project" and then add a "State Machine Workflow" project item


  • InVitro

    VS Ver 8.0.50215.44
    The GAC versions of all Workflow assemblies are 3.0.0.0
    I have two versions of EnvDTE 1) 8.0.0.0 and 2) 7.0.3300.0

    Pete



  • MrSnipey

    It only occurs with the application project (2) and not the library project (1).

  • jmoser

    This also happens when you create a WorkflowProject (of any kind) and add a windows form/user control to it, and then try to open it.

    But at runtime it seems to work fine.

    Regards, Matt_

  • dadaguo3000

    I did the following and did not see any error.

    1. File->New->Project->Visual C#->Workflow->State Machine Workflow Library
    2. File->New->Project->Visual C#->Workflow->State Machine Console Applicaiton

    I was wondering if those are the steps you are following or are your steps are different


  • Sid463

    There will be two assemblies in gac EnvDTE and ENVDTE80. If you have two versions of ENVDTE80 then this problems occures. Please ignore ENVDTE and check ENVDT80. Let me know the version numbers on them
    Thanks


  • Evian_

    Error occurred while Loading Workflow

    An error occurred while loading the workflow Please correct the following error and try reloading the document to view the Workflow

    CodeDomDesignerLoaderNoRootSerializer


  • SSISy Boy

    Matt
    The problem with user control not working correctly in workflow project is known issue which we will be fixing for beta2.

  • praefex

    Is it possible for you to send the entire error message that you get when you try to create the State Machine Console Application Project.


  • Egypt Develover

    Can you please tell us which version of WWF and VS you are using
    Also please check if you have multiple versions of ENVDTE80 in the gac as that might be another issue due to which this problem can occure

  • ckm

    This seems to work fine..

  • Error occurred while Loading Workflow