RE: Biztalk 2006 Tutorial 3



This is what you need to do within BTS 2006 server administration console.

BizTalk Server 2006 Tutorials > Tutorial 3: Invoice and Payment Process >
Lesson 3: Connect the B2B Solution to the Supplier Web Service >

This tutorial cannot be tested to show the use of correlations. The
SendCommomPO_Port must be configured to go to
http://localhost/B2BSupplierProcessPO/Process.asmx instead of
c:\tutorial\filedrop\filearchive\PO%MessageID%.xml.



"KWEZZIE1" wrote:

hi, were you able to find a solution to this particular problem? Can you help
me out since i am getting exactly the same error.

Thanks.

"Rob Wilkinson" wrote:

Hello.

I am a Biztalk newbie and I was wondering if anyone could help me, I have
worked all the way through Biztalk 2006 Tutorial 3 and did not receive any
error messages while building, configuring, deploying etc but when I test the
solution it does not work.

As the tutorial 3 step 7.1 suggests, I place the POInstance.xml in the
C:\Tutorial\FileDrop\ReceivePO directory,Biztalk then removes the file but
that's as far as it gets, the file is not archived and no acknowledgement is
sent to the ERP system.

I have re-checked the steps in the tutorial and all apprears ok so I'm not
sure where to look next. Below is the error message that appears in the event
viewer each time I try to test the solution, I can't really work out from
this error message where I should start looking.

Hope you can help. Thanks, Rob.

Error Message
-----------------

Event Type: Error
Event Source: XLANG/s
Event Category: None
Event ID: 10001
Date: 21/06/2006
Time: 15:01:59
User: N/A
Computer: IPredictARiot
Description:
Failed while creating a B2BOrchestrations.B2BProcess 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.B2BProcess' 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.B2BProcess..cctor()
Additional error information:

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

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()


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

.



Relevant Pages

  • Biztalk 2006 Tutorial 3
    ... Below is the error message that appears in the event ... 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: Biztalk 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: Biztalk 2006 Tutorial 3
    ... There are some known issues w/ the tutorials. ... Below is the error message that appears in the event ... Exception type: ServiceCreationException ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)
  • RE: Biztalk 2006 Tutorial 3
    ... Exception type: ServiceCreationException ... Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage ... 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)

Loading