Microsoft KB Archive/248500: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 51: | Line 51: | ||
</div> | </div> | ||
A value named | A value named "Workgroup" with a value of 1 (0x1) indicates that MSMQ 2.0 was installed in Workgroup mode. | ||
</div> | </div> | ||
Line 68: | Line 68: | ||
</div> | </div> | ||
If the second option ( | If the second option ("''Message Queuing will not access a directory service''") was selected, then MSMQ is configured in Workgroup mode, and the registry key earlier displays "0x1" as the value.<br /> | ||
<br /> | <br /> | ||
Also, when in Workgroup mode, if you attempt to browse the public queues, you get the following error message: | Also, when in Workgroup mode, if you attempt to browse the public queues, you get the following error message: | ||
Line 79: | Line 79: | ||
</div> | </div> | ||
You can also use the MSMQ 2.0 Administration objects to determine this programmatically. The '''IsDSEnabled''' property of the MSMQApplication object returns a nonzero value if MSMQ is installed in Directory mode, as shown in the following code: | You can also use the MSMQ 2.0 Administration objects to determine this programmatically. The '''IsDSEnabled''' property of the MSMQApplication object returns a nonzero value if MSMQ is installed in Directory mode, as shown in the following code: | ||
<pre class="codesample">If MSMQApplication.IsDSEnabled Then MsgBox | <pre class="codesample">If MSMQApplication.IsDSEnabled Then MsgBox "I am in Directory mode" | ||
</pre> | </pre> | ||
Latest revision as of 13:50, 21 July 2020
Article ID: 248500
Article Last Modified on 7/27/2007
APPLIES TO
- Microsoft Windows 2000 Server
This article was previously published under Q248500
SUMMARY
There are two main ways to set up Microsoft Message Queue Server (MSMQ) 2.0 on a Windows 2000 computer - Workgroup or Directory mode. This is determined when configuring MSMQ for the first time. To determine whether your MSMQ 2.0 is configured in Workgroup or Directory mode, check the following registry subkey:
HKLM\SOFTWARE\Microsoft\MSMQ\Parameters
A value named "Workgroup" with a value of 1 (0x1) indicates that MSMQ 2.0 was installed in Workgroup mode.
MORE INFORMATION
When MSMQ is being installed you may find a dialog box which displays as follows:
If the second option ("Message Queuing will not access a directory service") was selected, then MSMQ is configured in Workgroup mode, and the registry key earlier displays "0x1" as the value.
Also, when in Workgroup mode, if you attempt to browse the public queues, you get the following error message:
You can also use the MSMQ 2.0 Administration objects to determine this programmatically. The IsDSEnabled property of the MSMQApplication object returns a nonzero value if MSMQ is installed in Directory mode, as shown in the following code:
If MSMQApplication.IsDSEnabled Then MsgBox "I am in Directory mode"
REFERENCES
For detailed information about MSMQ 2.0 configuration and development, visit the following Microsoft Developer Network (MSDN) Web site:
Additional query words: QC Queued Components MSMQ MQ MMQ Workgroup directory 2.0
Keywords: kbcomplusqc kbhowto KB248500