BizTalk Server - Problem with Tutorial 3, Lesson 3 (failure executing the receive pipeline)

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > May 2006 > Problem with Tutorial 3, Lesson 3 (failure executing the receive pipeline)





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 Problem with Tutorial 3, Lesson 3 (failure executing the receive pipeline)
Piers

2006-05-12, 7:13 pm

This is from the SDK tutorials from BizTalk 2006.

I have seen that Lal had exactly the problem in a previous post on
2006-03-29. I was hoping that the reply by Eric Battalio would solve my
problem as I've been struggling trying to fix this for quite a while. But,
unfortunately the proposed fix by Eric did not work for me.

There have been typos/mistakes in earlier tutorials, so I am wondering if
there is a step missing. Some previous typos:

1) When promoting the properties for correlation in Tutorial 3, Lesson 2,
Step 2.24 the following is incorrect:
"In the tree control Expand Order, click PONumber, and then click Add. "

You first of all have to expand CommonAdvanceShipNotice, then expand
Shipment. Then you can expand Order and select PONumber

2) When re-configuring the SendCommonPO_Port in Tutorial 3, Lesson 3, Step
1.10, rather than clicking next on the Port Binding page, you need to select
"Specify now" rather than "Specify later" (this is a biggy!)

I'm going to repeat the previous post, as my problem is identical.

There was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive,
Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Receive Port:
"ASN_ReceivePort" URI:
"/B2BOrchestrations_WebService/ B2BOrchestrations_B2BProcess_ReceiveASN_
Port.asmx"
Reason: Loading document specification <B2BSchemas.AdvancedShipNotice> from
assembly <B2BSchemas, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=f5f7841d15c6dc86> failed. Verify that the schema for this
document specification is deployed and placed in the Global Assembly Cache.

This appears in the event log and the Health and Activity Tracking tool.

The tutorial (amongst other things) attempts to send a msg to a web service
which returns two messages to two separate ports and its these return
message calls that are failing.

I've attached to the web service process and debugged it to ensure that
there are no exceptions and so on - seems to make the calls fine. So I think
that its actually getting to the "receive" of this send on the pipeline and
running into problems.
I've also run ildasm and located the B2BSchemas.dll to check that the schema
(B2BSchemas.AdvancedShipNotice) is in there - which it is - and am now
stuck.
Can't seem to find anything on the web or in the groups - has anyone come
across this before or are there any BizTalk old hands that could give me a
pointer ?


Piers

2006-05-17, 7:14 pm

Here is a modified solution from Eric Battalio which I will reproduce here:

I think the problem may have to do with the tokens embedded in the C# files
in the B2BOrchestrations_webservice directory. To fix, you need to change
the token embedded in these files to the one in your tutorial.snk file.
You can accomplish this through the following steps:

1. Open up the Visual Studio 2005 (VS) command prompt. On the task bar,
click Start | All Programs | Microsoft Visual Studio 2005 | Visual Studio
Tools | Visual Studio 2005 Command Prompt.

2. From the VS command prompt, use the "CD" command to change to the "
B2BSolution" tutorial directory. If you installed the tutorial to "
C:\Tutorial", you will use the command "CD
C:\Tutorial\Solutions\B2BSolution".

3. Extract the public key pair from the tutorial strong name key file. To
do this, use the following command:

sn -p ..\..\Tutorial.snk token.snk

4. Now copy the display token for the public key into the text file "
token.txt" using the following command:

sn -t token.snk > token.txt

5. To view the contents of token.txt, run the command "notepad token.txt"
on the command prompt. You will copy this token into two different files.

6. Assuming the tutorial is installed in "c:\tutorial", use notepad to open
the file "
C:\tutorial\Solutions\B2BSolution\B2BOrc
hestrations_webservice\App_Code\B2BO
rchestrations_B2BProcess_ReceiveASN_Port
.asmx.cs". Replace all occurrences
of "
f5f7841d15c6dc86" to the token value in token.txt then save the
file.

7. Assuming the tutorial is installed in "c:\tutorial", use notepad to open
the file "
C:\tutorial\Solutions\B2BSolution\B2BOrc
hestrations_webservice\App_Code\B2BO
rchestrations_B2BProcess_ReceiveInvoice_
Port.asmx.cs". Replace all
occurrences of "
f5f7841d15c6dc86" to the token value in token.txt then save the
file.

8. Redploy the B2BProject.

"Piers" <piers.coleman_no_spam@sunaptic.com> wrote in message
news:OIFq8chdGHA.1856@TK2MSFTNGP03.phx.gbl...
> This is from the SDK tutorials from BizTalk 2006.
>
> I have seen that Lal had exactly the problem in a previous post on
> 2006-03-29. I was hoping that the reply by Eric Battalio would solve my
> problem as I've been struggling trying to fix this for quite a while. But,
> unfortunately the proposed fix by Eric did not work for me.
>
> There have been typos/mistakes in earlier tutorials, so I am wondering if
> there is a step missing. Some previous typos:
>
> 1) When promoting the properties for correlation in Tutorial 3, Lesson 2,
> Step 2.24 the following is incorrect:
> "In the tree control Expand Order, click PONumber, and then click Add. "
>
> You first of all have to expand CommonAdvanceShipNotice, then expand
> Shipment. Then you can expand Order and select PONumber
>
> 2) When re-configuring the SendCommonPO_Port in Tutorial 3, Lesson 3, Step
> 1.10, rather than clicking next on the Port Binding page, you need to
> select "Specify now" rather than "Specify later" (this is a biggy!)
>
> I'm going to repeat the previous post, as my problem is identical.
>
> There was a failure executing the receive pipeline:
> "Microsoft.BizTalk.DefaultPipelines.XMLReceive,
> Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Receive Port:
> "ASN_ReceivePort" URI:
> "/B2BOrchestrations_WebService/ B2BOrchestrations_B2BProcess_ReceiveASN_
Port.asmx"
> Reason: Loading document specification <B2BSchemas.AdvancedShipNotice>
> from
> assembly <B2BSchemas, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=f5f7841d15c6dc86> failed. Verify that the schema for this
> document specification is deployed and placed in the Global Assembly
> Cache.
>
> This appears in the event log and the Health and Activity Tracking tool.
>
> The tutorial (amongst other things) attempts to send a msg to a web
> service
> which returns two messages to two separate ports and its these return
> message calls that are failing.
>
> I've attached to the web service process and debugged it to ensure that
> there are no exceptions and so on - seems to make the calls fine. So I
> think
> that its actually getting to the "receive" of this send on the pipeline
> and
> running into problems.
> I've also run ildasm and located the B2BSchemas.dll to check that the
> schema
> (B2BSchemas.AdvancedShipNotice) is in there - which it is - and am now
> stuck.
> Can't seem to find anything on the web or in the groups - has anyone come
> across this before or are there any BizTalk old hands that could give me a
> pointer ?
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com