Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSMQ: What can cause a "Insufficient resources to perform operation" error when receiving from a queue?

Tags:

msmq

MSMQ: What can cause a "Insufficient resources to perform operation" error when receiving from a queue?

At the time the queue only held 2,000 messages with each message being about 5KB in size.

like image 534
Jonathan Allen Avatar asked Nov 13 '09 23:11

Jonathan Allen


People also ask

How do you clean MSMQ?

Description. The Clear-MsmqQueue cmdlet clears queues. Specify queues to clear by using MessageQueue objects. This cmdlet returns a MessageQueue object that represents the cleared outgoing queue.


1 Answers

I had the same error message and the solution was simple.

There were a lot of messages sitting on various queues, and the storage limits had been reached. I went to:

  • Server Manager -> Features

  • Right clicked on Message Queuing

  • Selected properties

  • In the General tab un-ticked the storage limits

I was informed that services using MSMQ would be re-started, and then the error went away.

like image 164
Philip Avatar answered Sep 30 '22 04:09

Philip