|
Home > Archive > BizTalk Server Orchestration > March 2006 > Error SQLXmlException object is marked non serializable.
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 |
Error SQLXmlException object is marked non serializable.
|
|
| anonymous 2006-03-13, 7:49 am |
| 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(Object
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo 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(Stream 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
| |
| Eric Stott 2006-03-13, 7:49 am |
| 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.InitSerialize(Object
> obj, ISurrogateSelector surrogateSelector, StreamingContext context,
> SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
> at
> System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object
> obj, ISurrogateSelector surrogateSelector, StreamingContext context,
> SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
> at
> System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo
> 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(Stream
> 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
| |
| anonymous 2006-03-13, 8:47 pm |
| 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, 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...
>
>
>
| |
| Eric Stott 2006-03-14, 5: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:
>
| |
| anonymous 2006-03-14, 8:47 pm |
| 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...
>
>
>
| |
| Eric Stott 2006-03-21, 3: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:
>
|
|
|
|
|