关于构建biztalk应用程序的警告:“验证组件'Flat File Disassembler'失败" [英] Warning on building biztalk application: 'Validate call on on component 'Flat File Disassembler' failed

查看:88
本文介绍了关于构建biztalk应用程序的警告:“验证组件'Flat File Disassembler'失败"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,这里有Biztalk的新手,我正在尝试将一个有效的示例过程打到一起.我几乎要使用的所有文件都是原始TXT平面文件,并且我已经通过平面文件架构向导中的一个逐步完成了自己的工作,以使自己成为一个好的实体架构.我还将所需的灭菌数据的XML版本放在一起,并将两者映射在一起.只要这就是我要做的所有事情,Biztalk似乎就没有问题.

So, new hand at Biztalk here, and I'm trying to get a working sample process slapped together. Almost all of the files I'm going to have to work with come in as raw TXT flat files, and I've walked one of them through the flat file schema wizard to get myself a good solid schema. I also put together an XML version of the sterilized data I want and mapped the two together. So long as that's all I try to do, Biztalk seems to have no problems.

但是,当我使用平面文件反汇编程序组件添加接收管道并将文档架构"设置为我先前定义的平面文件架构时,在Visual Studio中生成时会收到以下警告:

However, when I add in a receive pipeline with the flat file disassembler component and set the Document Schema to my earlier defined flat file schema, I get the following warning on build in Visual Studio:

Visual Studio 2012\Projects\Sample EDI Process 2\Sample EDI Process 2\ReceiveFFPipe.btp : warning BTP0008: Validate call on component 'Flat file disassembler' failed.

起初,我只是忽略了它,因为它只是一个警告,但是尝试在部署环境中的端口上使用Pipe会提示它挂起每个调用它的实例,并出现以下错误:

At first I just ignored it since it's only a warning, but trying to use the Pipe on a port in my deployment environment prompts it to suspend every instance that calls it with the following error:

A message received by adapter "FILE" on receive location "Receive Location1" with URI "C:\Sample EDI Folder\*.txt" is suspended. 
Error details: There was a failure executing the receive pipeline: "Sample_EDI_Process_2.ReceiveFFPipe, Sample EDI Process 2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=eedeea09943f22ae" Source: "Unknown " Receive Port: "ReceivePort1" URI: "C:\Sample EDI Folder\*.txt" Reason: Failed to get pipeline: Sample_EDI_Process.ReceiveFFPipe, Sample EDI Process 2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=eedeea09943f22ae. Please verify that the pipeline strong name is correct and that the pipeline assembly is in the GAC.  

请原谅可怕的命名约定,我只是想获得概念证明.

And please forgive the horrible naming conventions, I was just trying to get proof of concept.

无论如何,我是在本地计算机上编写代码并将其部署到另一台计算机上,并认为构建可能会混乱,因为解决方案程序集不在本地GAC中并且未选择平面文件文档架构向上.但是,使用gacutil将其安装在我的计算机上似乎也无法解决任何问题.我可以在Biztalk管理控制台中看到管道的运行情况.部署时它实际上不会产生错误,而只是警告.我已将解决方案设置为始终重新部署并始终安装到GAC.而且我在biztalk虚拟实验室中执行这些操作没有任何麻烦.我什至尝试完全放弃该解决方案,并从头开始制作另一个解决方案,没有骰子.

Anyway, I am writing my code on my local machine and deploying it to another, and assumed that maybe the build was messing up because the solution assembly was not in my local GAC and the flat file document schema wasn't being picked up. However, using gacutil to install it on my machine as well didn't seem to solve anything. I can see the pipeline just fine in the Biztalk Administration Console. It doesn't actually produce an error when deployed, only a warning. I've got my solution set up to always redeploy and always install to the GAC. And I haven't had any trouble performing these actions in the biztalk virtual labs. I even tried completely dropping the solution and making another one from scratch, no dice.

此外,虽然我没有运行Biztalk的本地实例,但确实将其安装在本地计算机上.我只是将解决方案部署到其他地方.

Also, while I not running a local instance of Biztalk, I do have it installed on my local machine. I just deploy the solution elsewhere.

如果您能提供任何帮助,我将不胜感激.

If there's any help you can give, I would greatly appreciate it.

推荐答案

验证失败的原因有很多,

There are several reason Validate will fail, including:

  1. 该架构不是平面文件架构
  2. 无法解析完全限定的名称(如果在引用程序集中,则可能具有Rebuild,然后关闭并打开Visual Studio)

您不能忽略此错误,否则,项目将无法构建.

You can't ignore this error, otherwise, the project will not Build.

第二个意味着无法解析类型名称(完全限定的.Net类型名称).具有管道和模式的程序集必须位于运行时计算机上的GAC中.在BizTalk Administrator中添加资源时,必须明确选中添加资源时添加到全局程序集缓存".

The second means the Type name (fully qualified .Net Type name) cannot be resolved. The Assemblies with the Pipeline and Schema must be in the GAC on the runtime machine. When you Add Resource in BizTalk Administrator, you have to explicitly check "Add to global assembly cache on add resource".

但是,我强烈建议您不要走这条路.您将发现在没有BizTalk Server本地实例(包括主机实例的完整堆栈)的情况下开发BizTalk应用程序会令人沮丧地徒劳. 不支持部署到远程计算机,这是最大的因素.是的,它可用并且可能似乎在起作用,但是不起作用.

However, I strongly recommend you don't pursue this path. You will find developing BizTalk apps without a local instance of BizTalk Server (full stack, including Host Instances) frustratingly unproductive. Deploy is not supported to remote machines which is the biggest factor. Yes, it's available and may appear to do something, but it does not work.

这篇关于关于构建biztalk应用程序的警告:“验证组件'Flat File Disassembler'失败"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆