Hugo Forte
Hugo Forte

Reputation: 5978

nservicebus critical error Exception code: 0x80131623

I'm getting the following error on starting up NServicebus.Host.exe

The runtime has encountered a fatal error. The address of the error was at 0x9124e4c7, on thread 0x2094. The error code is 0x80131623. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

I get this when I start the project through Visual Studio or directly through a command prompt and am having a hard time troubleshooting why it's crashing - suggestions would be greatly appreciated.

Upvotes: 3

Views: 9227

Answers (1)

Hugo Forte
Hugo Forte

Reputation: 5978

Thanks to @hanspassant, I was able to track down the issue:

My ServiceControl queue did not exist, once created the problem went away.

This was the error that ended up in the Windows Application Log:

Service cannot be started. System.ArgumentException: Queue must be transactional if you configure your endpoint to be transactional (Particular.ServiceControl@HFORTE-2). at NServiceBus.Transports.Msmq.MsmqDequeueStrategy.Init(Address address, TransactionSettings settings, Func2 tryProcessMessage, Action2

The problem ended up being servicecontrol related. I think Particular fixed the bug inside the NServicebus, as per this link FatalExecutionEngineError FailFast but not in the ServiceControl plugin.

Upvotes: 2

Related Questions