title: Transactionscope throwing exception this platform does not support distributed transactions while opening connection object
body: <p>TransactionScope is throwing a exception in .net core 2.2</p>
  <p>In this example I created a <code>scope of TransactioScop</code>.
  Opening SQL transaction for one database which is working fine.<br />
  After the first transaction I´m calling <code>commit</code> which will commit the SQL transaction.
  I try to open <code>call transaction</code> for another database while creating a transaction and the system is throwing an exception</p>
  <blockquote>
  <p>This platform does not support distributed transactions.</p>
  </blockquote>
  <p>tried to remove SQL transaction</p>
  <p><strong>c#</strong></p>
  <pre><code>using (TransactionScope scop =new TransactionScope(TransactionScopeOption.Required, TransactionScopeAsyncFlowOption.Enabled))
  {       
      _db1UOW.Begin(); //creating sql transaction
      await _db1UOW.IDenialDetailsRepositorydb1.InsertDenialDetails(denialsDetails);
      await _db1UOW.IRuleDetailsRepositorydb1.InsertRulesDetails(rulesDetails);
      _db1UOW.Commit(); //commitng sql transaction
  
      _db2UOW.Begin(); //creating sql transaction (but while opening connection object its throwing exception as This platform does not support distributed transactions)
      await _db2UOW.IRuleDetailsRepository.GetRulesDetails();
      await _db2UOW.IDenialDetailsRepository.InsertDenialDetails(denialsDetails);
      var data = await _db2UOW.IRuleDetailsRepository.InsertRulesDetails(rulesDetails);
      _db2UOW.Commit(); //commitng sql transaction
      scop.Complete();
  }
  </code></pre>
  <p>Message</p>
  <pre><code>&quot;This platform does not support distributed transactions.&quot;  at System.Transactions.Distributed.DistributedTransactionManager.GetDistributedTransactionFromTransmitterPropagationToken(Byte[] propagationToken)
     at System.Transactions.TransactionInterop.GetDistributedTransactionFromTransmitterPropagationToken(Byte[] propagationToken)
     at System.Transactions.TransactionStatePSPEOperation.PSPEPromote(InternalTransaction tx)
     at System.Transactions.TransactionStateDelegatedBase.EnterState(InternalTransaction tx)
     at System.Transactions.EnlistableStates.Promote(InternalTransaction tx)
     at System.Transactions.Transaction.Promote()
     at System.Transactions.TransactionInterop.ConvertToDistributedTransaction(Transaction transaction)
     at System.Transactions.TransactionInterop.GetExportCookie(Transaction transaction, Byte[] whereabouts)
     at System.Data.SqlClient.SqlInternalConnection.GetTransactionCookie(Transaction transaction, Byte[] whereAbouts)
     at System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx)
     at System.Data.SqlClient.SqlInternalConnection.Enlist(Transaction tx)
     at System.Data.SqlClient.SqlInternalConnectionTds.Activate(Transaction transaction)
     at System.Data.ProviderBase.DbConnectionPool.PrepareConnection(DbConnection owningObject, DbConnectionInternal obj, Transaction transaction)
     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp; connection)
     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp; connection)
     at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp; connection)
     at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
     at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
     at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
     at System.Data.SqlClient.SqlConnection.Open()
  </code></pre>