RE: Help with Tutorial 3

Tech-Archive recommends: Fix windows errors by optimizing your registry



Bless you! I saved 2 days.

Now I have to figure out why only part of the orchestration ran. I didn't
get the payment ack to ERP :(

GregM

"lf" wrote:

Well, I finally figured out my problem after 2 days.
Putting the answer up here in case anyone else experiences the same issue.
I just needed to restart the biztalk service.

Linda

"lf" wrote:

I am on Step 7, lesson 3 of the tutorial and am getting the error below when
trying to run my orchestration that contains a correlation set. The error
appears to be caused by the correlation set because it indicates that it
can't load it: "Could not load type 'B2BSchemas.PO_Num' from assembly
'B2BSchemas". I verified that B2BSchemas is in the Gac. I have run ILDASM
and I can see PO_Num in there. I have checked the blog for the documentation
and no one else is experiencing this problem. I am new to Biztalk and have
no idea what to check next. Can anyone help?

Failed while creating a B2BOrchestrations.B2BOrchestration service.

Exception type: ServiceCreationException
The following is a stack trace that identifies the location where the
exception occured

at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg)
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:

The type initializer for 'B2BOrchestrations.B2BOrchestration' threw
an exception.

Exception type: TypeInitializationException
Source: mscorlib
Target Site: Void _RunClassConstructor(IntPtr)
The following is a stack trace that identifies the location where the
exception occured

at
System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(IntPtr
type)
at
System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState.Resolve()
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createNewService(Guid&
serviceId, Guid& instanceId, BTXServiceStaticState staticState)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg)
Additional error information:

The type initializer for 'B2BOrchestrations.Correl_PO' threw an
exception.

Exception type: TypeInitializationException
Source: B2BOrchestrations
Target Site: Void .ctor()
The following is a stack trace that identifies the location where the
exception occured

at B2BOrchestrations.Correl_PO..ctor()
at B2BOrchestrations.B2BOrchestration..cctor()
Additional error information:

Could not load type 'B2BSchemas.PO_Num' from assembly 'B2BSchemas,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=608fd13c30a8469a'.

Exception type: TypeLoadException
Source: B2BOrchestrations
Target Site: Void .cctor()
The following is a stack trace that identifies the location where the
exception occured

at B2BOrchestrations.Correl_PO..cctor()


Thanks in advance,

Linda
.



Relevant Pages

  • Re: XLANG/S error executing BTS 2006 Tutorial 3
    ... Exception type: ServiceCreationException ... instanceId, IBTMessage currMsg) ... md, Objectargs, Object server, Int32 methodPtr, Boolean ...
    (microsoft.public.biztalk.general)
  • RE: Help with Tutorial 3
    ... Exception type: ServiceCreationException ... Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg) ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)
  • Help with Tutorial 3
    ... Exception type: ServiceCreationException ... Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg) ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)
  • XLANG/S error executing BTS 2006 Tutorial 3
    ... Exception type: ServiceCreationException ... Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg) ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)
  • Re: XLANG/S error executing BTS 2006 Tutorial 3
    ... Exception type: ServiceCreationException ... instanceId, IBTMessage currMsg) ... md, Objectargs, Object server, Int32 methodPtr, Boolean ...
    (microsoft.public.biztalk.general)