DynamicActivity doesn´t serialize well RRS feed

  • Question

  • Hi,
    I´ve got a problem with the DynamicActivity in WF. You can find a detailed description here. And here is the exception I got:

    System.ArgumentException: Cannot write a value that is not a string.
    Parameter name: value
       at System.Xaml.XamlXmlWriter.WriteValue(Object value)
       at System.Activities.XamlIntegration.ActivityBuilderXamlWriter.BuilderXamlNode.WriteValue(Object value)
       at System.Activities.XamlIntegration.ActivityBuilderXamlWriter.WriteValue(Object value)
       at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
       at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
       at System.Xaml.XamlServices.Save(XamlWriter writer, Object instance)
       at System.Activities.Presentation.WorkflowDesigner.SerializeToString(Object obj)
       at System.Activities.Presentation.WorkflowDesigner.WriteModelToText()

    any ideas why my code serializes the DynamicActivity not well and how to solve that problem?
    Monday, February 8, 2010 10:00 AM


All replies