title: The Entity Framework provider type 'Oracle.ManagedDataAccess.EntityFramework' could not be loaded
body: <p>I am trying to connect to Oracle using the Oracle Data Provider.NET (ODP.NET) using Entity Framework v6 in an MVC application.</p>
  
  <p>I have installed ODP.NET from here:
  <a href="https://www.nuget.org/packages/odp.net.entityframework/6.121.1-beta" rel="noreferrer">https://www.nuget.org/packages/odp.net.entityframework/6.121.1-beta</a></p>
  
  <p>I have configured my web.config file as follows:</p>
  
  <pre><code>&lt;connectionStrings&gt;
      &lt;add name="MyDB" connectionString="User ID=MyUser;Password=MyPassword;Data Source=MyDatabase; Persist Security Info=False" providerName="Oracle.ManagedDataAccess" /&gt;
  &lt;/connectionStrings&gt;
  
  
  
  &lt;entityFramework&gt;
      &lt;providers&gt;
          &lt;provider invariantName="Oracle.ManagedDataAccess.Client" type="Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=6.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" /&gt;
      &lt;/providers&gt;
   &lt;/entityFramework&gt;
  </code></pre>
  
  <p>However, when I try to call my EF Context, I get the following error:</p>
  
  <blockquote>
    <p>The Entity Framework provider type 'Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=6.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342' registered in the application config file for the ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.EntityFramework' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application</p>
  </blockquote>
  
  <p>I have spent a lot of time searching for help with this. Would be very grateful for any help!</p>
  
  <p>Thanks!</p>
  
  <p>Martin</p>