| Uncaught exception (see the 'inner exception' below) has suspended an instance of service '<the instantiated orchestration>(bafd7e78-dd0b-0792-2fa9-83c40dc63946)'. The service instance will remain suspended until administratively resumed or terminated. If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception. InstanceId: 201c9481-4591-404f-8ccd-35ab02a2522d Shape name: ShapeId: 79491911-f2dc-4d2e-a105-0dc724523c5b Exception thrown from: segment -1, progress -1 Inner exception: Type 'System.Xml.XmlDocument' in Assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable. Exception type: SerializationException Source: mscorlib Target Site: System.Reflection.MemberInfo[] InternalGetSerializableMembers(System.RuntimeType) The following is a stack trace that identifies the location where the exception occured at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) 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.Service.PendingCommit(Boolean ignore, XMessage msg) at Microsoft.XLANGs.Core.ServiceContext.PendingCommit(Boolean ignore, XMessage msg) at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean ignoreCommit, XMessage msg) at Microsoft.XLANGs.Core.Service.PendingCommit(Boolean ignore, XMessage msg) 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 <the orchestration serializing>.segment2(StopConditions stopOn) at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. |