title: System.Messaging.MessageQueueException- External component has thrown an exception
body: <p>I run .exe through windows service which reads the message from Private Queue. The service is all good and stable but at times the service stops (it actually does not stop, but it is not processing anything. Service status is still "Started", I need to manually restart it).</p>
  
  <p>This one doesn't show up often but analyzing the memory dump of the .exe file, I found that so many threads encountered below exception.</p>
  
  <blockquote>
    <p>Exception object: 0000000001436120 
    Exception type: System.Messaging.MessageQueueException 
    Message: External component has
    thrown an exception.</p>
  </blockquote>
  
  <pre><code>System.Messaging.MessageQueueException- External component has thrown an exception
  System.Messaging.MessageQueue.ReceiveCurrent(System.TimeSpan, Int32, System.Messaging.Interop.CursorHandle, System.Messaging.MessagePropertyFilter, System.Messaging.MessageQueueTransaction, System.Messaging.MessageQueueTransactionType) 
  System.Messaging.MessageQueue.Peek(System.TimeSpan)
  </code></pre>
  
  <p>Any idea why service encounters this exception?? Thanks in advance</p>