title: How to access remote private Msmq on workgroup windows 7
body: <p>as mentioned in the title of this post that I am having issues in connecting to a remote private msmq queue on windows 7 machine on workgroup.</p>
  
  <p>I created a local queue and system is working and am able to succesfully queue my messages in the local queue but when I try to connect to a remote queue to queue my message i am unable to access it.</p>
  
  <p>Both msmq services are installed on windows 7 machine and trying to access it using winforms c#.
  I tried so many blogs but dont know what I am missing. This is the error message I am receiving</p>
  
  <blockquote>
    <p>Access to Message Queuing system is denied</p>
  </blockquote>
  
  <p>and this is what I am using to connect to remote queue</p>
  
  <blockquote>
    <p>FormatName:Direct=OS:machinename\private$\TestQueue</p>
  </blockquote>
  
  <p>I also tried to give the ipaddress as well like this but no help</p>
  
  <blockquote>
    <p>FormatName:Direct=TCP:ipaddress\private$\TestQueue</p>
  </blockquote>
  
  <p>I have gone through lots of blogs but nothing helped.</p>
  
  <p>Please suggest. </p>
  
  <p>Thanks</p>