Error SQLXmlException object is marked non serializable.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Error SQLXmlException object is marked non serializable.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Error SQLXmlException object is marked non serializable.  
anonymous


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-13-06 12:49 PM

Hi,
I have an orchestration which performs few tasks before calling another
orchestration. i am getting this error which says.


System.Runtime.Serialization.SerializationException: The type
Microsoft.Data.SqlXml.SqlXmlException in Assembly Microsoft.Data.SqlXml,
Version=3.0.1523.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 is not
marked as serializable.
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize
(Object
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Obj
ect
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjec
tInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object
graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Str
eam serializationStream, Object graph, Header[] headers, Boolean fCheck)
at Microsoft.XLANGs.Core.ObjectSerializer._serialize(Object graph,
StringLookup sl)
at
Microsoft.XLANGs.Core.ObjectSerializer.SerializeStateManager(IStateManager
stateMgr, StringLookup lookup)
at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx,
Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean
terminate)
at Microsoft.XLANGs.Core.ServiceContext.PendingCommit(Boolean ignore,
XMessage msg)
at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean
ignoreCommit, XMessage msg)
at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean
ignoreCommit, XMessage msg)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.SendMessage(Int32
iOperation, XLANGMessage msg, Correlation[] initCorrelations, Correlatio
n[]
followCorrelations, Context cxt, Segment seg, ActivityFlags flags)
at BHPB.Interfaces.PQT.LIMS_ProcessSample.segment4(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)
System.Runtime.Serialization.SerializationException

But i have not used any SqlXmlException objects in my orchestrations.any
pointers.

Thanks





[ Post a follow-up to this message ]



    Re: Error SQLXmlException object is marked non serializable.  
Eric Stott


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-13-06 12:49 PM

Without seeing your code, the easiest way I know is to put whatever shape
that is causing this error into a scope shape and changing it to atomic, and
having the rest of the orchestration marked as long running.

Eric
http://stottcreations.com/blog

"anonymous" <anonymous@discussions.microsoft.com> wrote in message
news:1FE42A4B-FB15-44E6-8FD4-2732B34FCBDB@microsoft.com...
> Hi,
>  I have an orchestration which performs few tasks before calling another
> orchestration. i am getting this error which says.
>
>
> System.Runtime.Serialization.SerializationException: The type
> Microsoft.Data.SqlXml.SqlXmlException in Assembly Microsoft.Data.SqlXml,
> Version=3.0.1523.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 is
> not
> marked as serializable.
>   at
> System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSeriali
ze(Object
> obj, ISurrogateSelector surrogateSelector, StreamingContext context,
> SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
>   at
> System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(O
bject
> obj, ISurrogateSelector surrogateSelector, StreamingContext context,
> SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
>   at
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObj
ectInfo
> objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
>   at
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Obje
ct
> graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
>   at
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(S
tream
> serializationStream, Object graph, Header[] headers, Boolean fCheck)
>   at Microsoft.XLANGs.Core.ObjectSerializer._serialize(Object graph,
> StringLookup sl)
>   at
> Microsoft.XLANGs.Core.ObjectSerializer.SerializeStateManager(IStateManager
> stateMgr, StringLookup lookup)
>   at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx,
> Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean
> terminate)
>   at Microsoft.XLANGs.Core.ServiceContext.PendingCommit(Boolean ignore,
> XMessage msg)
>   at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean
> ignoreCommit, XMessage msg)
>   at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean
> ignoreCommit, XMessage msg)
>   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.SendMessage(Int32
> iOperation, XLANGMessage msg, Correlation[] initCorrelations,
> Correlation[]
> followCorrelations, Context cxt, Segment seg, ActivityFlags flags)
>   at BHPB.Interfaces.PQT.LIMS_ProcessSample.segment4(StopConditions
> stopOn)
>   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
> StopConditions stopCond, Exception& exp)
> System.Runtime.Serialization.SerializationException
>
> But i have not used any SqlXmlException objects in my orchestrations.any
> pointers.
>
> Thanks







[ Post a follow-up to this message ]



    Re: Error SQLXmlException object is marked non serializable.  
anonymous


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-06 01:47 AM

Hi Eric,
I am not using any SQLXMLException object .also i have not enabled
orchestration tracking and cant get to the see the orchestration in the
deubbger,is there any other way in which i can make which shape caused this
problem?


"Eric Stott" wrote:

> Without seeing your code, the easiest way I know is to put whatever shape
> that is causing this error into a scope shape and changing it to atomic, a
nd
> having the rest of the orchestration marked as long running.
>
> Eric
> http://stottcreations.com/blog
>
> "anonymous" <anonymous@discussions.microsoft.com> wrote in message
> news:1FE42A4B-FB15-44E6-8FD4-2732B34FCBDB@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Error SQLXmlException object is marked non serializable.  
Eric Stott


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-06 10:52 PM

enable orchestration tracking -> are you using BTS 2004 or BTS 2006?
"anonymous" <anonymous@discussions.microsoft.com> wrote in message
news:4F6DFA3C-14A3-45CD-817D-143EE074A43A@microsoft.com...[vbcol=seagreen]
> Hi Eric,
>   I am not using any SQLXMLException object .also i have not enabled
> orchestration tracking and cant get to the see the orchestration in the
> deubbger,is there any other way in which i can make which shape caused
> this
> problem?
>
>
> "Eric Stott" wrote:
> 







[ Post a follow-up to this message ]



    Re: Error SQLXmlException object is marked non serializable.  
anonymous


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-06 01:47 AM

BTS2004

"Eric Stott" wrote:

> enable orchestration tracking -> are you using BTS 2004 or BTS 2006?
> "anonymous" <anonymous@discussions.microsoft.com> wrote in message
> news:4F6DFA3C-14A3-45CD-817D-143EE074A43A@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Error SQLXmlException object is marked non serializable.  
Eric Stott


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-21-06 08:09 AM

You cannot see the orchestration being ran, or see instances that have run
in the recent 100 service instances?
Eric
http://stottcreations.com/blog

"anonymous" <anonymous@discussions.microsoft.com> wrote in message
news:B84E72E5-8E5C-43DC-99D7-C5E63573FDB2@microsoft.com...[vbcol=seagreen]
> BTS2004
>
> "Eric Stott" wrote:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:37 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register