Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6322115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:16:16+00:00 2026-05-24T16:16:16+00:00

Ok my issue is similar to How to receive message from a private workgroup

  • 0

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 using

MessageQueue.Create(@".\Private$\MyNewPrivateQueue");

Opening the queue on the remote machine with

var queue = new MessageQueue(@"FormatName:DIRECT=TCP:xxx.xxx.xxx.xxx\PRIVATE$\MyNewPrivateQueue");

And writing/reading data using queue.send() and queue.Receive()

I have two systems that I am experimenting with.

  1. Windows 7 Home Premium x64
  2. Windows XP SP3

When I create the private queue on the W7 system and try to write then read the queue from the XP system (as per the referenced question) it fails with a “Message Queue Service is not available” exception on the read action.

However, when I reverse the systems (create the queue on the XP system and write/read from the W7 system, and using the same code) it works as expected.

I have worked through:

  1. Reading Messages from Remote Queues
  2. Understanding how MSMQ security blocks RPC traffic
  3. Getting MSMQ messages out of Windows Server 2008 remotely
  4. Clear the way – MSMQ coming through
  5. MSMQ 3.0 too secure for you?

I have also tried turning off the W7 and XP firewalls, and given every man and his dog full permissions on the queues themselves to no avail.

Given that it works with XP as the queue host but not with W7 as the host I assume that it s a security issue and not a code issue. But for the life of me I cannot see where in W7 the blockage is.

EDIT 8/9

OK .. adding

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

Allowed me to read messages from the remote private queue. However this does not seem to allow the use of

GetPrivateQueueByMachine(String machineName)

to enumerate the available private queues. So any ideas for this one?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:16:17+00:00Added an answer on May 24, 2026 at 4:16 pm

    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
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running into an issue similar to the one described here: NSFetchedResultsControllerDelegate not
my issue lokks similar to this one: (link) but i have one-to-many association: <set
I know that there are some threads have a similar issue with this thread.
Although I have read a few previously answered questions regarding a similar issue, I
hey there i wonder if any of you have come across a similar issue?
I have a local site (IIS6, although similar issue with a totally different site
An issue I discover today is similar to this unanswered problem ; though not
Jquery Each Json Values Issue This question is similar to above, but not the
I've been reading similar questions to this issue and have been able to get
I have been through numerous similar questions on this forum but my issue still

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.