title: IIS 7.5 MVC 5 deployed website will not connect to SQL Server
body: <p>I have an ASP.NET MVC 5 website that works fine when it is running locally, but when deployed to the IIS 7.5 web server, it will not access SQL Server to pull up necessary information for the page. </p>
  
  <p>The error it give says it is not able to get the connection settings from the <code>web.config</code> file. When I use the connection settings directly in the DB call, however; I do not get the error, but no information at all is pulled from the DB.</p>
  
  <p>Here is my connection string if that helps:</p>
  
  <pre><code>server=servername;database=dbName;uid=Id;pwd=password
  </code></pre>
  
  <p>Can someone give me an idea of how I can correct the error?</p>
  
  <p>Thank you in advance for all your help...</p>