MSMQ Issue reading remote private queues (again)

后端 未结 1 698
栀梦
栀梦 2021-02-06 06:01

Ok my issue is similar to How to receive message from a private workgroup queue (and I am basically using the same code).

I am creating the queue on the host machine usi

1条回答
  •  清酒与你
    2021-02-06 06:57

    OK .. I obviously didn't read all I needed to read. The answer was in:

    MSMQ 4.0 - what's new in Computer Management?

    I needed to add a new registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\Security\AllowNonauthenticatedRPC
    

    and set the value to 1.

    Once I did this on the W7 server, then I could read the queue from the XP machine.

    Am I the only one who thinks this is weird that anyone could write to the queue, but I had to set this to read from the queue? That is so bizarre.

    0 讨论(0)
提交回复
热议问题