I am not able to post a simple message locally to my local MSMQ through this code although I can post to the same queue using some demo code. My code is using System; using System.Collections.Generic; using System.Xml; using System.IO; using System.Text; using System.Reflection; using System.Messaging; namespace WindowsApplication1 { static class test { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { string oobject; Message mymessage = new Message(); MessageQueue myMSMQueue = new MessageQueue(); MessageQueueTransaction myquetrans = new MessageQueueTransaction(); ActiveXMessageFormatter xmlmessageformat = new ActiveXMessageFormatter(); myMSMQueue.Path = (@".\private$\incomingqueue"); oobject = "message sent"; mymessage.Label = "testx"; mymessage.Body = oobject; try { myMSMQueue.Send(oobject); } catch (MessageQueueException ex) { Console.WriteLine("message " + ex.Message); Console.WriteLine("message " + ex.Source); Console.WriteLine("message " + ex.InnerException.Message); } myMSMQueue.Close(); } } }