Reputation: 8584
I've got 2 applications that utilize MSMQ to pass information between 2 servers.
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.
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.
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". Would I need to modify these?
Thanks again for all the help.
~Jim
Upvotes: 3
Views: 4986
Reputation: 876
Active Directory seems to be the devil when dealing with MSMQ. We got around any Active Directory issues by using private queues and bypassing active directory all together.
This approach also improves the performance of the MSMQ's in regards to speed.
Upvotes: 4
Reputation: 42145
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.
Upvotes: 0