例外:"There was a failure executing the response(receive) pipeline"

Exception: "There was a failure executing the response(receive) pipeline"

在 BizTalk 控制台管理中,我经常看到如下异常:

There was a failure executing the response(receive) pipeline: "[pipelineName], [BizTalk projectName], Version=1.0.0.0, Culture=neutral, PublicKeyToken=35805574d24305bf" Source: "Unknown " Send Port: "[sendPortName]" URI: "[sqlServerConnString]" Reason: Failed to get pipeline: [pipelineName], [BizTalk projectName], Version=1.0.0.0, Culture=neutral, PublicKeyToken=35805574d24305bf. Please verify that the pipeline strong name is correct and that the pipeline assembly is in the GAC.

我认为问题在于我如何部署管道和项目,因为我已经在虚拟机(有 Visual Studio)上开发了我的解决方案,然后我在另一个虚拟机(有 Visual Studio)上部署了我的解决方案没有安装 Visual Studio)。 对于部署,我将所需的 dll 放在一个文件夹中,然后从 BizTalk 管理工具(参考资料)中添加它们。我注意到的另一件奇怪的事情是,在资源中我有:

[pipelineName], Version=1.0.0.0, Culture=netrual, PublicKeyToken=60cf10bb1a125a7

[BizTalk projectName], Version=1.0.0.0, Culture=netrual, PublicKeyToken=35805574d24305bf

我不知道如何解决这个问题。你能帮帮我吗?

请检查:

  • pipelineName 是项目(和 DLL)中的管道

[BizTalk 项目名称],版本=1.0.0.0,文化=中性,PublicKeyToken=35805574d24305bf

  • 您的 DLL 必须在 GAC 中,请检查 DLL 是否在 GAC 中,如果不在,请从 BizTalk 管理工具添加 DLL (资源)选中 "Add to the global assembly cache on add resource (gacutil)" 选项。

  • 在资源上你只需要这个:

[BizTalk 项目名称],版本=1.0.0.0,文化=中性,PublicKeyToken=35805574d24305bf

另一个([pipelineName],Version=1.0.0.0,Culture=netrual,PublicKeyToken=60cf10bb1a125a7)是您添加到此 BizTalk 应用程序的另一个 DLL。

您必须正确部署管道组件程序集。

本文讲解全过程:BizTalk Server: Deploying Custom Pipeline Components in BizTalk Server 2006 and Higher