I created a WCF service using net.msmq ,which sends message to MSMQ , which works perfectly when i host it and consume it using console or Window application but gives error when i host it using Window service Error Message is as System.ServiceModel.CommunicationException: An error occurred while sending to the queue: No internal Message Queuing certificate exists for the user. at System.ServiceModel.Channels.MsmqQueue.Send(NativeMsmqMessage message, MsmqTransactionMode transactionMode) at System.ServiceModel.Channels.MsmqOutputChannel.OnSend(Message message, TimeSpan timeout) --- End of inner exception stack trace ---