NotSupportedException: on Availability service (fixed: bad configuration)


#1

Hey everyone,

I’m following the course, and saga lesson, with the services launched via the services-local.yam compose, when calling the POST to /availability/resources the service is crashing with the following exception:

System.NotSupportedException: Standalone servers do not support transactions.

Don’t know if I’ve missed some configuration or where I should be looking.
Any clue on how to fix the issue?

Edit: creating the container image from the master branch instead of microservices.net (the one where I’m following the course) works correctly, so there’s definitely some difference there, will keep looking to know what’s causing the issue.

Edit 2: I’m just dumb, I had the “disableTransactions” settings on the outbox section of appSeetings.json removed, added it back again and everything is working fine.

Thanks!