Why does MSMQ think I'm on a workgroup computer?

前端 未结 8 1470
孤独总比滥情好
孤独总比滥情好 2020-12-15 05:42

My computer is connected to a domain, but when I go to create a public queue:

MessageQueue.Create(@\".\\testqueue\");

I get this error:

8条回答
  •  隐瞒了意图╮
    2020-12-15 06:16

    Being part of a domain is a pre-cursor for installing MSMQ in AD-integrated mode. It doesn't guarantee MSMQ IS installed in AD-integrated mode. MSMQ will install in workgroup mode if:

    1. AD integration was not selected as a setup option
    2. AD integration was selected but failed to initialise; check event logs

    Yes, the workgroup name is confusing in a domain member situation.

提交回复
热议问题