title: Entity Data Model Wizard not creating tables in EDMX file
body: <p>I'm trying the database first approach by creating an ADO.NET Entity Data Model using the wizard with the Adventureworks2012 DB. </p>
  
  <p>Testing DB connection works, and the connection string is added to the App.Config.</p>
  
  <p>I'm selecting all the tables except the ones marked as (dbo) <code>AWBuildVersion</code>, <code>DatabaseLog</code>, and <code>ErrorLog</code>.</p>
  
  <p>When the wizard finishes the <code>.edmx</code> file is blank, and if I view the file in XML view the <code>EntityContainer</code> is empty.</p>
  
  <p>After the model is created it returns this error in the output window:</p>
  
  <blockquote>
    <p><em>Unable to generate the model because of the following exception: 'The
    table AdventureWorks2012.Production.Document is referenced by a
    relationship, but cannot be found.</em></p>
  </blockquote>
  
  <p>I'm using VS 2010 &amp; .NET Framework 4.0   </p>