A problem with Installing VS 2005 Extension for WWF

I have a problem when trying to install the latest version of visual studio 2005 Extension for windows workflow foundation.

I've installed:

  • .Net Famework 2.0 from the following link:

http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en

  • .Net Framework 3.0

http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en

  • VS extension

http://www.microsoft.com/downloads/details.aspx FamilyId=5D61409E-1FA3-48CF-8023-E8F38E709BA6&displaylang=en

When I try to open any sequential workflow in visual studio 2005 I couldn't open the design view and the following error appear instead of the workflow chart, and also the workflow activities toolbar doesn't exist:

Error Loading Workflow

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

Could not deserialize object. The type 'System.Workflow.Runtime.Tracking.SequentialWorkflow' could not be resolved.

I worked with Beta 1.2 but I need to view and work with examples in later versions but I couldn't.

Please help me in this error, what is the reasons for this . and if you recomment any other (latest)version of the extention...

Note: I am working with Windows XP Professional Edition with SP2.

.Net framework 1.1 is installed as well.



Answer this question

A problem with Installing VS 2005 Extension for WWF

  • Joe Au

    The samples you are using are outdated, download the latest ones from here. Also try the Hands on Labs which can be found here.

  • PaulCzy

    I tried to rebuild the solution but I got the same error massage


  • Leo Liu

    If this is 1.2 Beta code, are you getting any errors during the compile If so, what are they

    If not, there were some database changes that we made from 1.2 to RTM. Are you making any Database calls to Persistence or Tracking If so, you'll have to re-run the schema and logic sql files.



  • Mathew1972

    Hi Bill,

    When I create a new sequential workflow it works probably, but when I try one of the sample's projects, for example, I tried to run AdvancedPolicy example that demonstrated in the samples but 9 errors occurred, these are some of them:

    Error 1 The type or namespace name 'Policy' does not exist in the namespace 'System.Workflow.Activities' (are you missing an assembly reference ) c:\Program Files\Microsoft SDKs\Windows Workflow Foundation\Samples\samples\technologies\rulesandconditions\policyactivity\advancedpolicy\cs\DiscountPolicy.designer.cs 21 70 

    Error 9 The type or namespace name 'ValidationVisibilityAttribute' could not be found (are you missing a using directive or an assembly reference ) c:\Program Files\Microsoft SDKs\Windows Workflow Foundation\Samples\samples\technologies\rulesandconditions\policyactivity\advancedpolicy\cs\DiscountPolicy.cs 263 10 

    And when I checked the references folder I found all workflow references!!!

     I really need to run the samples and labs so what should I do Bill !!

     

    Thanks alot for your cooperation,

     

    Nada


  • elodie23

    Try re-compiling the workflow, before you you try to open it in the designer. Then re-open the project. If this does not work, let me know. I'll try to repro here.

    Cheers,



  • prthealien

    Thank you ..

    It works with the new sample now..


  • A problem with Installing VS 2005 Extension for WWF