Message Queuing has not been installed on this computer. [Resolved]

Posted by Poster under C# on 2/5/2010 | Views : 28922 | Status : [Member] | Replies : 2
I am trying to create a new MsMq queue and I am getting "Message Queuing has not been installed on this computer." error.

My code is below.

try
{
MessageQueue q = MessageQueue.Create(@".\Private$\MyQueue");
}
catch (MessageQueueException ee)
{
throw ee;
}


Thanks




Responses

Posted by: Raja on: 2/5/2010 [Member] Starter

Up
0
Down

Resolved
Looks like MSMQ is not installed in your machine. Install it by following below steps

1. Open Control Panel
2. Click Add/Remove programs
3. Click Add/Remove windows components
4. Check Message Queuing check box
5. Click Next

Let it install properly. Go to Micorosft management console by right clicking My Computer and Manage. Expand Services and Applications. You should see Message Queuing. If yes its installed.

Now try your code and it should work.

Thanks

Regards,
Raja, USA

Poster, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sameer05k21a04440 on: 12/14/2011 [Member] Starter | Points: 25

Up
0
Down
HI,

I am go through above code process its working 100% correct . Thanks for help to me . Now i am writing code Socket Programming in C Sharp any one help and guide to me .


Thanks and regards]
sam (IT Job Seeker)
chennaicity76@gmail.com

Poster, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response