InDistributedTransaction = true when creating new connection
Posted: Wed 28 Feb 2018 15:57
Hello,
I am trying to connect and call a function in postgresql database using the Devart.Data.PostgreSql db factory, DataContext and function mapping style.
I get "InvalidOperationException: Local transaction can not be started while in a distributed transaction."
when calling the function, but what I've noticed is that the InDistributedTransaction property of the PgSqlConnection is true, as I suppose it should be =false.
My question is how is this property set, and how I can check what is causing this?
Thank you.
I am trying to connect and call a function in postgresql database using the Devart.Data.PostgreSql db factory, DataContext and function mapping style.
I get "InvalidOperationException: Local transaction can not be started while in a distributed transaction."
when calling the function, but what I've noticed is that the InDistributedTransaction property of the PgSqlConnection is true, as I suppose it should be =false.
My question is how is this property set, and how I can check what is causing this?
Thank you.