简体   繁体   English

MSMQ和Active Directory集成

[英]MSMQ and Active Directory Integration

I've got 2 applications that utilize MSMQ to pass information between 2 servers. 我有2个应用程序利用MSMQ在2台服务器之间传递信息。

One posts new information hourly and runs without issue. 每小时发布一次新信息并且没有问题。

The other app runs once nightly and seems to be intermittently failing with the following error message: 另一个应用程序每晚运行一次,似乎间歇性地失败,出现以下错误消息:

A connection with Active Directory cannot be established. Verify that there are
sufficient permissions to perform this operation.  

Re-running this task manually completes with no issue. 手动重新运行此任务完成没有问题。

When we first installed MSMQ on our servers we took the default setup, which resulted in Active Directory Integration being installed. 当我们首次在服务器上安装MSMQ时,我们采用了默认设置,这导致安装了Active Directory集成。

I've read a few posts that address this issue and they recommend that I uninstall this component as well as add a registry key to disable this as well. 我已经阅读了一些解决此问题的帖子,他们建议我卸载此组件以及添加注册表项以禁用此功能。

Nine Tips to Enterprise-proof MSMQ was a well written article that gave me a lot of info. 企业证明MSMQ的九个提示是一篇写得很好的文章,它给了我很多信息。

My question is whether there are any additional steps I would need to take if I was to uninstall this? 我的问题是,如果我要卸载它,是否还需要采取任何其他步骤?

Is there anything that this component does that I'm not aware of? 这个组件有什么我不知道的吗?

My consumer queue paths are formatted like "DIRECT=TCP:XXX.XXX.X.XXX\\UploadQ". 我的使用者队列路径的格式为“DIRECT = TCP:XXX.XXX.X.XXX \\ UploadQ”。 Would I need to modify these? 我需要修改这些吗?

Thanks again for all the help. 再次感谢所有的帮助。

~Jim 〜吉姆

Active Directory seems to be the devil when dealing with MSMQ. 在处理MSMQ时,Active Directory似乎是个恶魔。 We got around any Active Directory issues by using private queues and bypassing active directory all together. 我们通过使用专用队列并绕过活动目录来解决任何Active Directory问题。

This approach also improves the performance of the MSMQ's in regards to speed. 这种方法还提高了MSMQ在速度方面的性能。

It sounds like the task scheduler you're using is running with a user account that doesn't have the permissions. 这听起来像您正在使用的任务调度程序正在使用没有权限的用户帐户运行。 That would explain why it works when you run it manually. 这可以解释为什么它在您手动运行时有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM