How do I fix error with MassTransit [closed]
Asked Answered
G

1

8

I am trying to use MassTransit, I installed it using nuget and am just using their base example:

Quick start guide

When I run this code I get an exceptions (with the inner exceptions listed):

  • "An exception was thrown during service bus creation"
  • "Failed to create the bus service: SubscriptionRouterService"
  • "msmq-pgm://235.109.116.115:7784/test_queue_control_subscriptions => An exception was thrown during Send"
  • "Length cannot be less than zero.\r\nParameter name: length"

Is there any help anyone can give me on getting past this error?

Notes: MSMQ is installed, and I've used it for WCF based MSMQ services. All the queues look like they are being created in MSMQ before that error line

Gustavogustavus answered 6/3, 2012 at 20:56 Comment(2)
I'm having the same issue. Has anyone been able to fix this?Ideational
I'd recommend moving some of the code highlighting the issue into the question, as right now, you have a link to an external resource which could go down at any time. I.E. there's no context.Bhayani
I
5

We left out the following line to make the Getting Started sample to work:

sbc.UseMulticastSubscriptionClient();

Ideational answered 7/3, 2012 at 19:6 Comment(2)
worked for me, too. Make sense since the queue being created is a private one.Instrumentalist
you should be using sbc.UseMsmq instead, since usemulticast is now obsoleteBalboa

© 2022 - 2024 — McMap. All rights reserved.