06-25-06 06:19 AM
"andrew" <andrew@discussions.microsoft.com> wrote in message
news:72A37189-A4DB-47C7-BC7C-8F904804C5CE@microsoft.com...
Are you positive that you aren't using a FileStream object anywhere in the
orchestration, either directly in an expression, or from an assembly you're
using in an expression? If so, you'll have to wrap the shape in an atomic
scope.
Paul Brinkley-Rogers
>I have an orchestration that takes in a message. First I try to copy the
> message and send it out to a folder... a Receive shape brings the message
> into the orchestration... then I do a construct with a Message Assignment
> to
> make myself a copy so I can use the original later in the orchestration.
> The
> code in my Assignment shape is as follows...
>
> myCopy = myOriginal;
> myCopy(*) = myOriginal(*);
>
> The exact same code works in a different orchestration... anyways I run
> the
> orchestration... my message is received... but when I try to send it
> out... I
> get an error:
>
> "The type System.IO.FileStream in Assembly mscorlib, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089 is not marked as
> serializable."
>
> Does anyone know the cause of this error??
[ Post a follow-up to this message ]
|