c# - MSDTC and Multiple Databases with Entity Framework -


In my code, I am trying to use a transaction using TransactionScope with Entity Framework i while this transaction In we are opening a regular SQL connection with a separate server and database. When conn.Open () is called, we get an error:

"Network access for distributed transaction manager (MSDTC) has been disabled. Please provide security configuration for MSDTC Enable DTC for network access using the Componet Services Administration Tool. "

However, MSDTC is enabled and running on the server.

1) Just to be sure, but you have actually confirmed that DTC is running. Right click on "My Computer" from your Component Service screen. The top menu item should be called "Stop DTC".

2) Have you checked that your configuration of MSDTC is the same on both ends (your Aperture Server that starts the connection with the database and on your database server)? Pay special attention to the security configuration under your MSTDC tab

Good luck


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -