title: MSMQ: Message Queue service is not available. Error message
body: <p>have had MSMQ working for the past few months but I am suddenly getting this error message:</p>
  
  <pre><code>Message Queue service is not available.
  </code></pre>
  
  <p>This is when i test it locally when I test it in live i get the follwoing message:</p>
  
  <pre><code> Unable to validate data.
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  
  Exception Details: System.Web.HttpException: Unable to validate data.
  
  Source Error:
  
  An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
  
  Stack Trace:
  
  
  [HttpException (0x80004005): Unable to validate data.]
     System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData) +4961431
     System.Web.Security.MachineKey.Decode(String encodedData, MachineKeyProtection protectionOption) +194
     System.Web.Helpers.AntiForgeryDataSerializer.Deserialize(String serializedToken) +120
  
  [HttpAntiForgeryException (0x80004005): A required anti-forgery token was not supplied or was invalid.]
     System.Web.Helpers.AntiForgeryDataSerializer.Deserialize(String serializedToken) +754
     System.Web.Helpers.AntiForgeryWorker.Validate(HttpContextBase context, String salt) +199
     System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) +156
     System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +825488
     System.Web.Mvc.Controller.ExecuteCore() +159
     System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
     System.Web.Mvc.&lt;&gt;c__DisplayClassb.&lt;BeginProcessRequest&gt;b__5() +62
     System.Web.Mvc.Async.&lt;&gt;c__DisplayClass1.&lt;MakeVoidDelegate&gt;b__0() +20
     System.Web.Mvc.&lt;&gt;c__DisplayClasse.&lt;EndProcessRequest&gt;b__d() +54
     System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +375
  </code></pre>
  
  <p>Has anyone come across this problem where it has been working and then stops and any fixes for this?</p>
  
  <p>Edit:  I had a few issues setting up msmq see:
  <a href="https://stackoverflow.com/questions/12496112/msmq-creating-errors-a-workgroup-installation-computer-does-not-support-the-ope">MSMQ creating errors: A workgroup installation computer does not support the operation / User&#39;s internal Message Queuing certificate does not exist</a></p>
  
  <p>My set up we have 6 servers which are load balanced and all have msmq set up,  the domain is set up as a Network service and there are two other server which are involved - the doamin controller which receives the messages and serach server which receives the message - i don t kow if there is a problem on all or just one particular server.  I have tried to narrow it down by using the Host file (C:\Windows\System32\drivers\etc\Host )and pointing at each server at a time but they still seem to be sporadic in whther they work or not.  We do use caching so I'm not sure if this may be affecting anything...</p>
  
  <p>Thanks</p>