title: Error creating queue in nservicebus
body: <p>After some months I am finally back to using nservicebus and started to test it out on a server.  Unfortunately I am getting this exception </p>
  
  <pre><code> The queue does not exist or you do not have sufficient permissions to perform the operation.
  </code></pre>
  
  <p>I've checked using computer manager and the queue does exist and I have granted everybody full control over the queue however this problem persists.  What am I doing wrong?</p>
  
  <p>I am using </p>
  
  <pre><code>  var bus = NServiceBus.Configure.With()
                    .SpringBuilder()
                    .XmlSerializer()
                    .MsmqTransport()
                        .IsTransactional(true)
                        .PurgeOnStartup(false)
                    .UnicastBus()
                        .ImpersonateSender(false)
                        .LoadMessageHandlers()
                    .CreateBus()
                .Start();
  </code></pre>
  
  <p>and </p>
  
  <pre><code> &lt;MsmqTransportConfig
    InputQueue="ListenQueue"
    ErrorQueue="error"
    NumberOfWorkerThreads="1"
    MaxRetries="5"
    /&gt;
  </code></pre>
  
  <p>I works just fine on my dev box.  The full stack trace (which doesn't seem all that useful) looks like</p>
  
  <pre><code>System.Messaging.MessageQueueException was unhandled
    Message=The queue does not exist or you do not have sufficient permissions to perform the operation.
    Source=NServiceListener
    ErrorCode=-2147467259
    StackTrace:
         at NServiceListener.Program.Main(String[] args) in C:\temp\NServiceListener\NServiceListener\Program.cs:line 35
         at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
         at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
         at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.ThreadHelper.ThreadStart()
  </code></pre>