When running MassTransit for first time in debugging, Error creating queue, insufficient privileges

StackOverflow https://stackoverflow.com/questions/8416382

  •  29-10-2019
  •  | 
  •  

Question

I've got an MVC site and a processing service both set up to use MassTransit. I had to delete the queues, as I was getting an issue where the mt_ queues weren't being created for me when I started on another machine. Now, when I run my application, I get an error about not being able to create the queues.

My configuration;

        sbc.VerifyMsmqConfiguration( );
        sbc.SetCreateMissingQueues( true );
        sbc.ReceiveFrom(
            ConfigurationManager.AppSettings["ServiceBusQueue"] );
        sbc.UseMsmq( );
        sbc.UseControlBus( );
        sbc.UseMulticastSubscriptionClient( );
        sbc.Subscribe(
            subs => subs.LoadFrom( Kernel ) );

The ServiceBusQueue is set to msmq://localhost/sample_queue

I had this problem once before, but then when I put the code into the final application, the problem went away. I'm running Visual Studio as administrator.

What permissions do I need? Where do I set them?

Was it helpful?

Solution

This was fixed by the bug fix mentioned by Chris.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top