locked
WorkflowDebugger: Does not have corresponding Xaml node for: RRS feed

  • Question

  • hi all

    i am working on workflow 4.0.

    i found that when i create a code activity and drag it to my workflow, run the workflow, everything is all right.

    but when i create an activity and drag it to my workflow, run the workflow, output window will display these:

    WorkflowDebugger: Does not have corresponding Xaml node for: Sequence
    WorkflowDebugger: Does not have corresponding Xaml node for: Assign
    WorkflowDebugger: Does not have corresponding Xaml node for: InChangeActivity
    WorkflowDebugger: Does not have corresponding Xaml node for: WriteLine

    although workflow still works fine for me,when i build a complex workflow, it will take a lot of time to write these messages to the output window that will slow my workflow running a lot. 

    i wonder why and how to fix this problem.

    thanks very much.


    好好学习,天天向上
    Sunday, January 16, 2011 8:00 AM

Answers

  • Hi,

    ->"by the way, why workflow services storing their phsical location in the xaml file?"
    It is a known issue in WF4. I have reported it to dev team. this problem could be fixed in the nNext version.

    Regards


    MSDN Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    This posting is provided "AS IS" with no warranties, and confers no rights. My Blog: http://xhinker.com
    Microsoft Windows Workflow Foundation 4.0 Cookbook
    • Marked as answer by Andrew_Zhu Sunday, January 23, 2011 2:42 PM
    Friday, January 21, 2011 3:46 AM
  • after finnaly confirmed, this message is by design, and there is no way to suppress it.
    • Marked as answer by Andrew_Zhu Sunday, January 23, 2011 2:42 PM
    Tuesday, January 18, 2011 8:10 PM

All replies

  • waiting...


    好好学习,天天向上
    Sunday, January 16, 2011 8:56 AM
  • several questions

    1. are you using workflow designer?

    2. do you have custom activity in your workflow

    3. can you paste your xaml content here?

     

    in fact I haven't heard of this problem, so could you help paste a repro xaml so I can help investigate?

    Sunday, January 16, 2011 10:23 AM
  • several questions

    1. are you using workflow designer?

    2. do you have custom activity in your workflow

    3. can you paste your xaml content here?

     

    in fact I haven't heard of this problem, so could you help paste a repro xaml so I can help investigate? 

    thank you for your reply.

    1.i use workflow designer.

    2.i have custom activity in my workflow

    3.to make it easy, i create a simple workflow which just has one activity.and the activity just write a word :


     <Activity mc:Ignorable="sap" x:Class="VariablesAndArgumentsSample.Activity1" sap:VirtualizedContainerService.HintSize="240,240" mva:VisualBasic.Settings="Assembly references and imported namespaces for internal implementation" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:local="clr-namespace:VariablesAndArgumentsSample" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mv="clr-namespace:Microsoft.VisualBasic;assembly=System" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:s1="clr-namespace:System;assembly=System" xmlns:s2="clr-namespace:System;assembly=System.Xml" xmlns:s3="clr-namespace:System;assembly=System.Core" xmlns:sad="clr-namespace:System.Activities.Debugger;assembly=System.Activities" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=System" xmlns:scg1="clr-namespace:System.Collections.Generic;assembly=System.ServiceModel" xmlns:scg2="clr-namespace:System.Collections.Generic;assembly=System.Core" xmlns:scg3="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sd="clr-namespace:System.Data;assembly=System.Data" xmlns:sl="clr-namespace:System.Linq;assembly=System.Core" xmlns:st="clr-namespace:System.Text;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
      <local:InChangeWorkflow sad:XamlDebuggerXmlReader.FileName="D:\VariablesAndArgumentsSample\VariablesAndArgumentsSample\Activity1.xaml" sap:VirtualizedContainerService.HintSize="200,200" />
    </Activity>

    InChangeWorkflow  is my custom activity.here is its xaml content:

    <Activity mc:Ignorable="sap" x:Class="VariablesAndArgumentsSample.InChangeWorkflow" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mv="clr-namespace:Microsoft.VisualBasic;assembly=System" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:s1="clr-namespace:System;assembly=System" xmlns:s2="clr-namespace:System;assembly=System.Xml" xmlns:s3="clr-namespace:System;assembly=System.Core" xmlns:s4="clr-namespace:System;assembly=System.ServiceModel" xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities" xmlns:sad="clr-namespace:System.Activities.Debugger;assembly=System.Activities" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=System" xmlns:scg1="clr-namespace:System.Collections.Generic;assembly=System.ServiceModel" xmlns:scg2="clr-namespace:System.Collections.Generic;assembly=System.Core" xmlns:scg3="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sd="clr-namespace:System.Data;assembly=System.Data" xmlns:sl="clr-namespace:System.Linq;assembly=System.Core" xmlns:st="clr-namespace:System.Text;assembly=mscorlib" xmlns:v="clr-namespace:VariablesAndArgumentsSample" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
      <x:Members>
        <x:Property Name="myVariable" Type="OutArgument(x:String)" />
      </x:Members>
      <sap:VirtualizedContainerService.HintSize>253,240</sap:VirtualizedContainerService.HintSize>
      <mva:VisualBasic.Settings>Assembly references and imported namespaces for internal implementation</mva:VisualBasic.Settings>
      <WriteLine sad:XamlDebuggerXmlReader.FileName="D:\VariablesAndArgumentsSample\VariablesAndArgumentsSample\InChangeWorkflow.xaml" sap:VirtualizedContainerService.HintSize="213,200" Text="test" />
    </Activity>

    when i run the workflow, output window display this:

    WorkflowDebugger: Does not have corresponding Xaml node for: WriteLine

    by the way, why workflow services storing their phsical location in the xaml file?


    好好学习,天天向上
    Sunday, January 16, 2011 12:58 PM
  • please refer to this thread

    http://social.msdn.microsoft.com/Forums/en-US/wfprerelease/thread/9df02711-b08f-468e-96f8-1bd7b7e0fba2/

    which build of VS are you using, RTM or Beta?

    Monday, January 17, 2011 4:51 AM
  • i am using RTM


    好好学习,天天向上
    Monday, January 17, 2011 3:01 PM
  • after finnaly confirmed, this message is by design, and there is no way to suppress it.
    • Marked as answer by Andrew_Zhu Sunday, January 23, 2011 2:42 PM
    Tuesday, January 18, 2011 8:10 PM
  • thank you very much for your help! i'll see what else i can do.
    好好学习,天天向上
    Friday, January 21, 2011 1:54 AM
  • Hi,

    ->"by the way, why workflow services storing their phsical location in the xaml file?"
    It is a known issue in WF4. I have reported it to dev team. this problem could be fixed in the nNext version.

    Regards


    MSDN Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    This posting is provided "AS IS" with no warranties, and confers no rights. My Blog: http://xhinker.com
    Microsoft Windows Workflow Foundation 4.0 Cookbook
    • Marked as answer by Andrew_Zhu Sunday, January 23, 2011 2:42 PM
    Friday, January 21, 2011 3:46 AM
  • after finnaly confirmed, this message is by design, and there is no way to suppress it.
    hi, will this problem be fixed next version?
    好好学习,天天向上
    Wednesday, January 26, 2011 2:54 AM