Integrating Integrators – BizTalk, Windows Azure, Windows Workflow, and Beyond

ServiceCreationException exception: Cannot get the member 'segment7'.

BizTalk 2006 R2

This group is for all content related to BizTalk Server 2006 R2. This includes a forum, samples, and videos. Most of the content here also applies to other versions of BizTalk beyond 2006 R2.

ServiceCreationException exception: Cannot get the member 'segment7'.

Not Answered This question is not answered

Hi,

I am using BizTalk Server 2006 R2.

I have an orchestraion with a long running scope, which in some situations may wait for couple of hours for responses on a receive shape, and this is why it may be dehydrated to the messagebox for couple of hours.

When re-hydration occurs, In some rare situation I get the following exception:

 

This is the error:

 

 

Event Type:         Error

Event Source:     XLANG/s

Event Category:  None

Event ID:               10001

Date:                      3/2/2009

Time:                     5:33:19 AM

User:                      N/A

Computer:      Server1

Description:

Failed while creating a StdFX1.orchStdFX1 service.

       

Exception type: ServiceCreationException

The following is a stack trace that identifies the location where the exception occured

 

   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._serviceCreator(Guid& instanceId, Object objCurrMsg)

   at Microsoft.XLANGs.Core.ResourceContainer._allocateResource(Guid& key, UInt32 hashKey, ResourceCreator resCreator, Object creationContext)

   at Microsoft.XLANGs.Core.ResourceContainer.Dispense(Guid& key, ResourceCreator resCreator, Object creationContext)

   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._dispenseService(Guid& instanceId, IBTMessage currMsg)

   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._tryReceiveOneMessage(Boolean& loggedError, Guid& instanceId, IBTMessage currMsg)

   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._receiveOneMessage(Guid& instanceId, Guid& serviceId, IBTMessage currentMsg)

   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession.ReceiveMessages(IBTMessage[] messages, Int32 firstIdx, Int32 count)

   at Microsoft.BizTalk.XLANGs.BTXEngine.AppDomains.AppDomainRoot.Microsoft.XLANGs.BizTalk.ProcessInterface.IAppDomainStub.ReceiveMessages(Object objMsg)

   at Microsoft.XLANGs.BizTalk.CrossProcess.AppDomainStubProxy.Microsoft.XLANGs.BizTalk.ProcessInterface.IAppDomainStub.ReceiveMessages(Object msgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

   at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)

   at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)

   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)

   at System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)

   at System.Threading.Thread.InternalCrossContextCallback(Context ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall, Object[] args)

   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessage(IMessage reqMsg)

   at System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage(IMessage msg)

   at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm, SmuggledMethodReturnMessage& smuggledMrm)

   at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatchCallback(Object[] args)

   at System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)

 

Additional error information:

 

        Cannot get the member 'segment7'.

       

Exception type: SerializationException

Source: mscorlib

Target Site: System.Object GetRealObject(System.Runtime.Serialization.StreamingContext)

The following is a stack trace that identifies the location where the exception occured

 

   at System.Reflection.MemberInfoSerializationHolder.GetRealObject(StreamingContext context)

   at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)

   at System.Runtime.Serialization.ObjectManager.DoFixups()

   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)

   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)

   at Microsoft.XLANGs.Core.ObjectSerializer.DeserializeStateManager(Guid stateId, Stream s, StringLookup lookup)

   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._deserializeService(Guid& instanceId, StringLookup sl, Stream stateData)

   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg)

 

 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

I have no idea what is member segment7, it's not a class member in any of my code.

This exception doesnt happen all the times, just once in a while in this scenrio.

I would appreciate any assitance.

Thank you,

Shay

 

 

Edit
All Replies
Page 1 of 1 (4 items)