简体   繁体   English

BizTalk 2013 R2收到管道错误

[英]BizTalk 2013 R2 Receive Pipeline Error

I'm getting this error message when I submit the input file (which BizTalk eats up as expected)... 提交输入文件时,我收到此错误消息(BizTalk会按预期吞噬)...

There was a failure executing the receive pipeline: 

"FileName.BizTalk.Pipelines.Receive_ResponsePipeline, 
 FileName.BizTalk.Pipelines, 
 Version=1.0.0.0, 
 Culture=neutral, 
 PublicKeyToken=040e2e09e19196ce" 

Source: "Unknown " 

Receive Port: "rcv_Response" 

URI: "C:\Data\drops\in\*.txt" 

Reason:  Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft      
BizTalk Server 2013 R2\Pipeline Components\FileName.BizTalk.Core.dll' or one of its  
dependencies.  The system cannot find the file specified.

I checked that directory and the DLL it's looking for is there. 我检查了该目录,并在其中找到了DLL。 I even rebuilt it from the solution along with all its dependencies. 我什至从解决方案及其所有依赖项中重建了它。

Could this simply be a case of a corrupt file/installation or could it be something else? 可能仅仅是文件/安装损坏的情况,还是其他原因?

The BizTalk solution builds with no issues and I was able to deploy to the BizTalk Server without issues. BizTalk解决方案的构建没有问题,而且我能够毫无问题地部署到BizTalk Server。

To deploy a BizTalk pipeline component, you need to: 要部署BizTalk管道组件,您需要:

  1. Add the file to the "Pipeline Components" folder as the error suggest. 根据错误提示将文件添加到“管道组件”文件夹中。
  2. Add it to the Global Assembly Cache (GAC). 将其添加到全局程序集缓存(GAC)。

Make sure you restart the host instance(s) after deployment AND be sure to deploy it on all BizTalk servers within the BizTalk Group. 确保在部署后重新启动主机实例,并确保将其部署在BizTalk组内的所有BizTalk服务器上。

Here are the few check points that may be cause of issue: 以下是可能引起问题的一些检查点:

  • Check if all the dependent assemblies(Required/imported in given assemby) are also present in GAC & wherever necessary. 检查是否所有依赖程序集(必需/在给定的assemby中导入)也存在于GAC中和必要的地方。 Any missing dependent assembly gives the same error. 任何缺少的从属程序集都会产生相同的错误。
  • Receive Location handler (check if it is 32 or 64 bit host) 接收位置处理程序(检查它是32位还是64位主机)
  • Check if the receive handler is running on all nodes of the farm, if yes check required dlls are in place 检查接收处理程序是否正在服务器场的所有节点上运行,如果是,请检查所需的dll是否到位
  • Does EDI component has been properly installed on production box EDI组件是否已正确安装在生产盒上
  • Check if your project is properly build from Visual Studio, probably clean the solution and then rebuilt and deploy from VS on dev environment and then move to prod 检查您的项目是否从Visual Studio正确构建,可能是清理解决方案,然后在开发环境中从VS重新构建和部署,然后移至产品
  • After deployment hosts are restarted 重新启动部署主机后
  • Check if receive handler is defined for the host instance Adapters-->File-->New-->Receive Handler and check if the HostInstance is added. 检查是否为主机实例Adapters-->File-->New-->Receive Handler HostInstance Adapters-->File-->New-->Receive Handler定义了接收处理​​程序,并检查是否添加了HostInstance Check Receive Location and updated the Receive Handler property. 检查Receive Location并更新了接收处理​​程序属性。
  • Check the application pool to Integrated and targeted the v4.0 Framework. 检查应用程序池以集成和定位v4.0框架。 This clears the initial error, but then you can receive a new error from IIS that the svc handler was not correctly mapped. 这样可以清除初始错误,但随后您会从IIS收到一个新错误,提示svc处理程序未正确映射。 I then realized that I needed to run the " aspnet_regiis.exe -I " command against the correct version of aspnet_regiis (the v4.0 framework version). 然后,我意识到我需要针对正确版本的aspnet_regiis(v4.0框架版本)运行“ aspnet_regiis.exe -I ”命令。

Sources: 资料来源:

http://social.msdn.microsoft.com/Forums/en-US/246d306b-5a18-497d-a4f6-f8b3a9aacdb8/receive-pipeline-error-could-not-load-file-or-assembly?forum=biztalkgeneral http://social.msdn.microsoft.com/Forums/en-US/246d306b-5a18-497d-a4f6-f8b3a9aacdb8/receive-pipeline-error-could-not-load-file-or-assembly?forum=biztalkgeneral

http://social.technet.microsoft.com/wiki/contents/articles/7204.biztalk-server-list-of-errors-and-warnings-causes-and-solutions.aspx http://social.technet.microsoft.com/wiki/contents/articles/7204.biztalk-server-list-of-errors-and-warnings-causes-and-solutions.aspx

http://blogs.msdn.com/b/joscot/archive/2013/08/14/biztalk-2013-hosted-wcf-service-fails-because-it-could-not-load-microsoft-biztalk-interop-ssoclient.aspx?utm_source=buffer&utm_campaign=Buffer&utm_content=buffer52156&utm_medium=twitter http://blogs.msdn.com/b/joscot/archive/2013/08/14/biztalk-2013-hosted-wcf-service-fails-because-it-could-not-load-microsoft-biztalk-interop- ssoclient.aspx?utm_source =缓冲器&utm_campaign =缓冲器的utm_content = buffer52156&utm_medium =微博

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM