title: Transaction Manager Is Not Available
body: <p>i am using <strong><code>TransactionScope</code></strong> Class provided by .Net</p>
  
  <p>However when i try to open connection it throws below exception.</p>
  
  <pre><code>{System.Runtime.InteropServices.COMException (0x8004D01B): The Transaction Manager is not available. (Exception from HRESULT: 0x8004D01B)
  </code></pre>
  
  <p>Here is my code.. </p>
  
  <pre><code>  using (TransactionScope scope = new TransactionScope())
    {
      using (OleDbConnection connection1 = new OleDbConnection("Provider=MSDAORA.1;User ID=oratest2;Password=oratest2;Data Source=dr;Persist Security Info=False"))
       {
                      // Opening the connection automatically enlists it in the  
                      // TransactionScope as a lightweight transaction.
         connection1.Open(); // here it throws exception
       }
    }
  </code></pre>