BizTalk部署:文件不是有效的BizTalk组件
我正在使用BizTalk 2020,并且有一个我最近从Biztalk 2006升级的项目。我遇到了以下错误:
btstask.exe addresource -type:biztalkAssembly -source:“ .... \ xxx.dll” -applicationName:“ app1” - options:gaconadd,gaconimport,gaconimport,gaconinstall Microsoft(R)BizTalk应用程序部署实用程序版本3.13.717.0 版权(C)Microsoft Corporation。保留所有权利。
exec:错误:文件“ .... \ xxx.dll”不是有效的biztalk组件。 [f:\ git \ xxx \ xxx.deployment \ deployment.btdfproj] 无法加载文件或汇编“ xxx.dll”或其依赖项之一。系统无法找到指定的路径。
命令失败,有1个错误,0警告。
我尝试的是:
- 我检查所有引用的组件,它们在GAC中是正确的。
- 我已经为帐户网络服务提供了对临时文件夹的访问权限。
- 在项目的部署部分中,我提供了目标申请名称。
我已经看到,失败的编排类型为system.biztalk.biztalkAssembly
,其中的项目类型system.biztalk.sembly
成功地部署了。可能还不能确定为什么项目有差异。
如果有帮助,我正在使用部署框架5.8。
I am using BizTalk 2020 and I have a project that I recently upgraded from BizTalk 2006. I have into the following error:
BTSTask.exe AddResource -Type:BizTalkAssembly -Source:"....\xxx.dll" -ApplicationName:"app1" -Options:GacOnAdd,GacOnImport,GacOnInstall
Microsoft (R) BizTalk Application Deployment Utility Version 3.13.717.0
Copyright (c) Microsoft Corporation. All rights reserved.
EXEC : error : File "....\xxx.dll" is not a valid BizTalk assembly. [F:\GIT\xxx\xxx.Deployment\Deployment.btdfproj]
Could not load file or assembly 'xxx.dll' or one of its dependencies. The system cannot find the path specified.
Command failed with 1 errors, 0 warnings.
What I have tried:
- I check all the referenced assemblies and they are correct and in the GAC.
- I have given access to the temp folder, for the account Network service.
- in the deployment section of the project I have provided the target application name.
I have seen that the orchestration that is failing is of type System.Biztalk.BiztalkAssembly
where the project that are of type System.Biztalk.Assembly
deployed successfully. Could as yet not determine why there is a difference in the projects.
I am using Deployment framework 5.8 if that is of help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于错误消息...
找到指定的
系统无法 在其中仔细检查该工具,甚至可以仔细检查引用的DLL是否存在于磁盘上。正确的BizTalk版本和匹配.NET框架版本。
Due to the error message...
...you likely have an unwanted, incorrect version, incorrect .NET Framework version, or missing DLL referenced by your DLL.
I suggest downloading a free decompiler such as Telerik JustDecompile or JetBrains dotPeek, opening up your DLL in it, and carefully inspecting the references. The tool might even flag the problematic reference. Carefully check that the referenced DLL's exist on disk, that they are for the correct BizTalk version and matching .NET Framework version. There's a good chance that something was overlooked in the upgrade from BizTalk 2006.