title: EF 6 "Unable to load the specified metadata resource" -- but I'm not using edmx
body: <p>Sorry if this has been asked, but I've gone through all of the other posts I can find and everyone seems to be using an EDMX, and not a "production" database.</p>
  
  <p>I get the following error:</p>
  
  <p>System.Data.Entity.Core.MetadataException: Unable to load the specified metadata resource</p>
  
  <p>when attempting to access my application. My connection string is as follows:</p>
  
  <pre><code>&lt;add name="FormAssemblyEntities" connectionString="metadata=res://*/Models.Entities.FormAssembly.csdl|res://*/Models.Entities.FormAssembly.ssdl|res://*/Models.Entities.FormAssembly.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=server\instance;initial catalog=dbname;user id=userid;password=password;MultipleActiveResultSets=True;App=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;
  </code></pre>
  
  <p>This works perfectly if I am running it locally and it connects to the edmx with the following connection string, but as soon as I put it on our UAT server and point it to the database, I get that error.</p>
  
  <pre><code>&lt;add name="FormAssemblyEntities" connectionString="Data Source=(LocalDB)\v11.0;attachdbfilename=|DataDirectory|\FormAssembly.mdf;Initial Catalog=FormAssembly;Integrated Security=SSPI;MultipleActiveResultSets=True;" providerName="System.Data.SqlClient" /&gt;
  </code></pre>
  
  <p>I really have no idea where to start. The database appears up to date, the user has access, and the server has access to the SQL server.</p>
  
  <p>I have also tried replacing the res://*/ with res://FormAssembly/ and res://FormAssembly.dll/, but the former results in the same error, and the latter says the dll can't be found (the DLL is in the bin directory).</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks,</p>
  
  <p>Travis</p>