Dim oQueuedInterface As IMyQueuedInterface
Dim sRequest As String
' Read request from file/other object etc.
Set oQueuedInterface =
GetObject("Queue:FormatName=DIRECT=OS:MYWIN2KSERVER\Private$\MyQueuedCOMPlusApp/new:Component.ProgID")
oQueuedInterface.ProcessRequest sRequest
Set oQueuedInterface = Nothing
The above sample doesn't generate any error, however it just increases
the outgoing queue message count and no actual processing happens
(except when run on the PDC). The same sample when run on 2003 machine
to access a 2000 hosted queued component runs OK.
Note that turning this option on affects all sorts of things on the system,
not just MSMQ. For example, any file with read access granted to "Everyone"
would now be readable by anonymous users.
An alternative approach might be to explicitly grant the built-in "Anonymous
Users" the same queue access rights that "Everyone" has been given. That
should limit your change to just the queue (or queues) you modify the
permissions of.