Note that there are some explanatory texts on larger screens.

plurals
  1. POChanging connectionstring for entity framework after IIS7 MVC Publish results in metadata error
    text
    copied!<p>I built this app with Web Developer Express 2010 using SQL Server Express 2008. I downloaded mdf/log files from my server to my local and attached them as a database with SQL 2005 compatibility.</p> <p>I'm now trying to publish to my production server. The server is using SQL Express 2005 and Windows Server Web. I tried to change out the web.config connectionstring, but I'm getting an "Unable to load the specified metadata resource" error. I 'm also a newbie/hack.</p> <p>Here's a look at my production string:</p> <pre><code>&lt;add name="ProductionEntities" connectionString="metadata=res://*/Production.csdl|res://*/Production.ssdl|res://*/Production.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;Data Source=Production\SQLEXPRESS;Initial Catalog=ProductionCatalog;Integrated Security=True;MultipleActiveResultSets=True&amp;quot;" providerName="System.Data.EntityClient"/&gt; </code></pre> <p>Here's a look at my dev string:</p> <pre><code>&lt;add name="DevelopmentEntities" connectionString="metadata=res://*/Models.Development.csdl|res://*/Models.Development.ssdl|res://*/Models.Development.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;Data Source=Development\SQLEXPRESS;Initial Catalog=DevelopmentCatalog;Integrated Security=True;MultipleActiveResultSets=True&amp;quot;" providerName="System.Data.EntityClient" /&gt;&lt;/connectionStrings&gt; </code></pre> <p>I'm hoping someone can help point me in the right direction. Thanks, I love you guys -Joe</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload