Search code examples
dnsmsmqworkgroup

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


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

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

I get this error:

A workgroup installation computer does not support the operation.

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


Solution

  • 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.