Re: Problem with 2006 tutorial (failure executing the receive pipeline)

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



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?. Change ?
f5f7841d15c6dc86? on line 24 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?. Change ?
f5f7841d15c6dc86? on line 24 to the token value in token.txt then save the
file.

8. Redploy the B2BProject.

The problem should disappear.

-Eric
--------------------
From: "Paul Somers" <paul@xxxxxxxxxx>
References: <442aeff8$0$3595$ed2e19e4@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Problem with 2006 tutorial (failure executing the receive
pipeline)
Date: Thu, 13 Apr 2006 10:20:23 +0200
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
Message-ID: <uLMXkMtXGHA.4424@xxxxxxxxxxxxxxxxxxxx>
Newsgroups: microsoft.public.biztalk.server
NNTP-Posting-Host: 196.29.130.212
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.server:12000
X-Tomcat-NG: microsoft.public.biztalk.server

It looks like the message the web service is sending does not have the
schema for it deployed to BizTalk, can you debug and check the message
returned conforms to the B2BSchemas.AdvancedShipNotice schema?

Did you check the admin console for the schema?

Is the B2BSchemas.dll assembly in the GAC?

Paul.

"lal" <lal@xxxxxxxx> wrote in message
news:442aeff8$0$3595$ed2e19e4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi everyone,

I'm trying to follow thru the tutorials in the preview of Biztalk 2006
and
have got as far as tutorial 3 - Lesson 3 where you try to connect to a
"supplier Web Service".
To be honest its my first attempt at BizTalk so I'm not 100% confident
however all was going well until I hit this error....

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 ?

Cheers
Lal.






This posting is provided "AS IS" with no warranties, and confers no rights.
© 2006 Microsoft Corporation.
All rights reserved.

.



Relevant Pages

  • Re: Problem with Tutorial 3, Lesson 3 (failure executing the receive pipeline)
    ... 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 ... Open up the Visual Studio 2005 command prompt. ... There have been typos/mistakes in earlier tutorials, ...
    (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)