Re: Problem with Tutorial 3, Lesson 3 (failure executing the receive pipeline)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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\B2BOrchestrations_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\B2BOrchestrations_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@xxxxxxxxxxxx> wrote in message
news:OIFq8chdGHA.1856@xxxxxxxxxxxxxxxxxxxxxxx
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 ?




.



Relevant Pages

  • Re: Problem with 2006 tutorial (failure executing the receive pipeline)
    ... I think the problem may have to do with the tokens embedded in the C# files ... From the VS command prompt, ... returned conforms to the B2BSchemas.AdvancedShipNotice schema? ... I'm trying to follow thru the tutorials in the preview of Biztalk 2006 ...
    (microsoft.public.biztalk.server)
  • RE: BizTalk 2006 Tutorials - Tutorial 3
    ... I think the problem may have to do with the tokens embedded in the C# files ... Tools | Visual Studio 2005 Command Prompt. ... Extract the public key pair from the tutorial strong name key file. ... The updated tutorials fix numerous documentation issues. ...
    (microsoft.public.biztalk.general)
  • Re: Constants for catch return values?
    ... and adding a new option to change the behaviour of an existing command is less clean than simply making a new command, ... Especially if it has a few "built in" lists of tokens, ... Something that would end up looking like [tokenize -catch value]. ...
    (comp.lang.tcl)
  • Re: Constants for catch return values?
    ... code, because it's rare that you need both codes (so most people would probably end up doing it most of the time anyhow to hide those ugly numbers, or not doing it and putting up with the numbers to hide that ugly second command), and having to "re-process" the code into a token is both annoying ) and confusing to someone unfamiliar with the second command. ... It could easily be applied to other commands as well, and extended to support your own lists of tokens. ... and I can't see it ever taking any (there's only so many ways you can convert a bunch of arguments into a TCL list representing exactly that bunch of arguments). ... out-of-range values should just be passed ...
    (comp.lang.tcl)
  • Re: variable accessible to two different procs without passing it in
    ... return command? ... think "I think this is working by pulling the variable connectionpool into ... Pull down and work through the Tcl Tutor. ... time doing tutorials and the like, but I'm under pressure to produce a ...
    (comp.lang.tcl)