title: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty
body: <p>So yesterday i installed PHP and MySQL on my development machine. Since then i get the following error when trying to run one of my .NET projects:</p>
  
  <p>The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.</p>
  
  <p>It references this line of the Machine.Config: </p>
  
  <pre><code>&lt;add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt;
  </code></pre>
  
  <p>I have searched online, high and low and can confirm that my machine.config HAS the necessary connection string:</p>
  
  <pre><code>  &lt;connectionStrings&gt;
  &lt;add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" /&gt;
  &lt;add name="LocalMySqlServer" connectionString="" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>Interestingly enough, i performed the exact same operation of installing PHP and MySQL on my production server (server 2008) and there is no problem there. My dev machine is Windows 7.</p>
  
  <p>My whole dev machine is broken because of this. How can i repair the machine.config or fix it and resolve this problem? Has anyone experienced this before?</p>
  
  <p>Nugs</p>