对BizTalk对象的远程WMI调用将引发COMException(0x80131904) [英] Remote WMI call to BizTalk object throws COMException (0x80131904)
问题描述
我正在尝试在BizTalk主机上运行WQL查询(SELECT * FROM MSBTS_SendPort),但是当我在远程主BizTalkHost上的控制台应用程序中运行此查询时,我遇到一个COMException,该异常表示用户'NT登录失败AUTHORITY \ ANONYMOUS LOGON'."
I'm trying to run an WQL query(SELECT * FROM MSBTS_SendPort) on an BizTalk host but when I run this query in my console application on an remote primary BizTalkHost I get an COMException who says "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
如果我在主BizTalkHost上运行相同的控制台应用程序,则一切正常.
If I run the same console application on the primary BizTalkHost then everything works.
推荐答案
我正在发布双跳身份验证问题,因此,我想要的内容将永远无法使用.参见此
I'm issueing an double-hop authentication issue, so therefore what I want will never work. See this link for more information. My workaround for this issue is to create an wcf-webservice on an biztalk host and let the wcf service handle the WMI query.
如果您想使用Powershell进行远程biztalk管理,请查看此链接.
If you want to use powershell for remote biztalk administration look at this link.
这篇关于对BizTalk对象的远程WMI调用将引发COMException(0x80131904)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!