title: EF 5 Unable to verify the compatibility of the model
body: <p>I'm totally new to ASP .Net programming and recently I got this exception when I try to use EF 5 Model First </p>
  
  <pre><code>Unable to verify the compatibility of the model because the DbContext instance was not created using Code First patterns. Unable to verify the compatibility of DbContext instances created from an ObjectContext or using an EDMX file.
  </code></pre>
  
  <p>I'm using Visual Studio 2012, my solution Project have 2 projects one for the Data model (EF5) and another for the web application (ASP.NET MVC 4).</p>
  
  <p>If someone issued this error can help me.</p>
  
  <p>Best Regards</p>