Using Webpage flow activities

Hi,

Are there any resources, which can help me how to work with "Webpage flow activities", which can be found at http://wf.netfx3.com/files/folders/control_flow/entry4354.aspx

I want to use these activities to build a state machine workflow sample.

Thanks in advance for your time.

Regards,

Pavan


Answer this question

Using Webpage flow activities

  • Grayson Peddie

    Pavan,

    The package found at the link you indicated contains a state machine workflow sample. Besides Workflow WebPage Activities it also includes an example of a Sequential Workflow and a State Machine workflow sample. Under WorkflowLibrary directory you can find SequentialWorkflow.cs and StateMachineWorkflow.cs

    Both workflow types make use of same Webpage flow activities. More information about these activities can be found on my blogs: http://blogs.msdn.com/ghenap/archive/2006/05/16/599291.aspx



  • gsl3

    This looks like an environmental problem with your IIS installation. try to google this error message and you will see multiple posts related to this error message. Try the following:

    - make sure your IIS is configured with ASP.NET 2.0

    - make sure ASPNET account has the right to write into ASP Temporary files

    (detailed steps how to enable this can be found at http://support.microsoft.com/default.aspx kbid=811320)

    Hope this helps



  • Malik Zulfi

    Hi,

    Thanks a lot for the info.

    I have tried running the samples that are provided as per the steps listed in Readme.txt file associated in the package,

    But the application has thrown an error "The web application you are trying to access is currently unavailable. Please hit refresh button in your web browser".

    And it also indicated that the actual error was logged in event log and when i have looked the log, it was written that aspnet_wp.exe has terminated unexpectedly and Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied.

    Then i have tried creating new state machine application and created 3 pages and 3 states, which has one-one relation.i have also derived my code behind files for aspx from WorkflowPage class.

    I have created web.config file as it is as specified in the original sample and when i try to run the app, it also threw some other error stating that "Navigation to requested page failed. Error message: Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue '_Default_GET'." and the inner exception was read as "Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue '_Default_GET'."

    I have no clue about why i am getting these errors, can you please suggest me a solution.

    I can mail my entire web app to you, if you want to have a look at it.

    Thanks in advance for your time.

    Regards,
    Pavan


  • Using Webpage flow activities