BizTalk部署:文件不是有效的BizTalk组件

发布于 2025-02-13 22:01:48 字数 836 浏览 0 评论 0原文

我正在使用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警告。

我尝试的是:

  1. 我检查所有引用的组件,它们在GAC中是正确的。
  2. 我已经为帐户网络服务提供了对临时文件夹的访问权限。
  3. 在项目的部署部分中,我提供了目标申请名称。

我已经看到,失败的编排类型为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:

  1. I check all the referenced assemblies and they are correct and in the GAC.
  2. I have given access to the temp folder, for the account Network service.
  3. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

素染倾城色 2025-02-20 22:01:48

由于错误消息...

“无法加载文件或汇编'xxx.dll'或其依赖项之一。
系统无法找到指定的路径。”

找到指定的

系统无法 在其中仔细检查该工具,甚至可以仔细检查引用的DLL是否存在于磁盘上。正确的BizTalk版本和匹配.NET框架版本。

Due to the error message...

"Could not load file or assembly 'xxx.dll' or one of its dependencies.
The system cannot find the path specified."

...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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文