title: IBM MQ: CWSMQ0082E: Failed to send to CompCode: 2, Reason: 2017
body: <p>I am trying to send Text messages using IBM XMS for .NET. After sending around 254 messages, I get following error:</p>
  
  <pre><code>An unhandled exception of type 'IBM.XMS.XMSException' occurred in IBM.XMS.Client.WMQ.dll
  
  Additional information: CWSMQ0082E: Failed to send to CompCode: 2, Reason: 2017.
  </code></pre>
  
  <p>There isn't much on google about it. I found one related post at <a href="https://stackoverflow.com/questions/1539826/wsmq-queue-limit">WSMQ Queue Limit</a></p>
  
  <p>The post suggest that there is some sort of limit in max queues. The links in the post don't seem to work. How do I overcome this error ?</p>