Search This Blog

Thursday, 8 February 2018

MSMQ: There are insufficient resources to complete the send operation

MSMQ: There are insufficient resources to complete the send operation

When BizTalk is sending the messages to the MSMQ there are quite a few of error messages that we get to experience under different circumstance. One of them is the following error.


Issue:

There are insufficient resources to complete the send operation.
 For example, this could happen when you are trying to send a large message (message larger than 4095 KB) to a non-transactional queue. Large messages can be sent only to transactional queues.

Happens when:
The above error occurred when BizTalk is trying to send the message out to MSMQ while the Journal Queue's on the BizTalk Box is full.

Resolution:

Clear the below system queues both the Journal Messages  and Transactional deal-letter messages as shown below



Once you clear the messages of the system queues, you can resume the suspended instances then it will go through with no issues.


Note:- I think the above is applicable even for the normal C# or any other applications that write to the MSMQ Queue.


Please comment if you experience any other issues related to this.


No comments:

Post a Comment

Sending Email to Multiple recipients using PowerShell

Hi All,  Below is the working code to Send emails to Multiple recipients using PowerShell. [STRING]$PSEmailServer = "YourSMTPServerIPOr...