MSMQ intermittent remote computer is not available exception

Did some poking around MSMQ – and ran into various intermittent exceptions when writing/reading from private remote queues (“remote computer is not available”, “queue cannot be found/accessed”, etc.)

At the root there happened to be the fact that MessageQueue object is disposable/closable. So – add queue.Close() (or queue.Dispose(), or do “using” on your queue) code, restart MSMQ services, and there is a chance that your problem will go away.

Also, follow recomendations you’ll find from all the other searches (e.g., try non-cached queue handles, verify read/write permissions of your queues, etc.)

 


 

You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.