BizTalk 看不到我的任何 GAC 程序集
各位, 我意识到这可能看起来像常见的“您没有重新启动主机实例”问题......但还有更多问题。我有一个 BizTalk 应用程序,由几个架构程序集、一个管道程序集、一些映射等组成。 我使用 Visual Studio 2010 将其部署到 BTS2010。我的程序集全部出现在 GAC 中 - 我的架构、我的管道等。架构和管道一样出现在 BT 应用程序中。我的所有地图都出现在 BT 应用程序中。
当我使用自定义管道发送消息时,我收到“无法获取管道”消息,抱怨强名称和 GAC。当我不使用管道而只是尝试直接转到包含消息的消息框时,它会抱怨无法加载我的架构的文档规范,并再次抱怨 GAC。
我已经验证了数百次,程序集实际上位于 GAC 中,并且我已重新启动(包括完全停止)主机实例数十次。
是否有任何其他奇怪的事情会导致 BizTalk 无法从 GAC 加载我的内容,即使它看起来好像在那里并且我已经重新启动了主机实例?
Folks,
I realize this may look like the usual "you didn't restart your host instance" problem.. but there's more to it than that. I have a BizTalk application that consists of a couple Schema Assemblies, a pipeline Assembly, some maps, etc.
I use Visual Studio 2010 to deploy this to BTS2010. My Assemblies all appear in the GAC - my schemas, my pipeline, etc. The schemas appear in the BT application, as does the pipeline. All my maps appear in the BT application.
When I go to send a message through using my custom pipeline, I get the "Failed to get pipeline" message complaining about strong names and GAC. When I don't use the pipeline and I just try and go right to the message box with a message, it complains that it can't load the doc spec for my schema and again complains about the GAC.
I have verified a few hundred times that the Assemblies are actually in the GAC and I have restarted (including stopping it altogether) the host instance a few dozen times.
Is there any other quirky thing that would make BizTalk unable to load my stuff from the GAC, even though it appears as though it's there AND I've restarted the host instance?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是需要检查的一些事项:
gacutil.exe /l
。要将结果输出到文件,只需执行 gacutil.exe /l > c:\gac.txt。然后您可以搜索输出以找到您的程序集。也许您可以使用 gacutil /if assemblyname.dll 手动 GAC 每个程序集。 f 将强制覆盖现有程序集。正确。还要仔细检查是否设置了正确的
应用程序名称
和服务器
。Here are some things to check:
gacutil.exe /l
. To output the results to a file, just dogacutil.exe /l > c:\gac.txt
. Then you can search through the output to find your assemblies. Maybe you can manually GAC each assembly usinggacutil /if assemblyname.dll
. The f will force the an existing assembly to be overwritten.Redeploy
andInstall to Global Assembly Cache
are set totrue
. Also double-check that the correctApplication Name
andServer
are set.