User107276062 posted
I have hosted MVC application (membership) on web server and when run I got error.
Error:
The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.
Solution:
Nothing to do just Simply Add
<add name="LocalSqlServer" connectionString="Data Source=YourServerName;Integrated Security=true;Initial Catalog=YourDataBaseName" providerName="System.Data.SqlClient" />
this section in your webConfig file under <ConnectionString> Tag