BizTalk Server Orchestration - Orchestration compilation error

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > August 2004 > Orchestration compilation error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Orchestration compilation error
Raju

2004-08-16, 2:49 am

The following error is displayed when i try to complie my orhcestration.
It contains a scope, a variable pointing to a class.
Transaction type is declared as None for the scope.

a non-serializable object type can only be declared within an atomic scope
or service

But the same is successfully getting compiled in some other project.

What does the error means?
Rajinder Singh

2004-08-16, 5:54 pm

Your orchestration is hitting a persistent point where it is trying to
serialize something
that cannot be serialized.

Are you calling a .Net class that is not marked serialized ?

Another common reason for this problem is XmlDocument ?
XmlDocument class is not serializable. I have seen this when you are using
an external
..Net class that has in instance variable of type XmlDocument. This is
commonly done to
create an the Message in an assembly. The work around is to have a static
method return
XmlDocument.

To fix the problem you can either do exactly what the message says i.e. make
you calls with
in an atomic scope or make sure the object you are working with is
Serialiable.

Cheers,

Raj


"Raju" <Raju@discussions.microsoft.com> wrote in message
news:7D95E540-BC5F-46F2-813D-9BF3215DC4A7@microsoft.com...
> The following error is displayed when i try to complie my orhcestration.
> It contains a scope, a variable pointing to a class.
> Transaction type is declared as None for the scope.
>
> a non-serializable object type can only be declared within an atomic

scope
> or service
>
> But the same is successfully getting compiled in some other project.
>
> What does the error means?



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com