The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty
问题 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: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty. It references this line of the Machine.Config: <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral,