Error Message :
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
I know this is an issue with database not able to connect properly , I have googled a lot and tried the following things to get it fixed [In web.config file under connectionStrings section]
1) <add name="LocalSqlServer" connectionString="server=UMBARCO\UMBARCOSQL;database=Umbraco444;user id=xxx;password=xxx; Connection Timeout=300" providerName="System.Data.SqlClient" />
2) <remove name="LocalSqlServer">
<add name="LocalSqlServer" connectionString="server=UMBARCO\UMBARCOSQL;database=Umbraco444;user id=xxx;password=xxx; Connection Timeout=300" providerName="System.Data.SqlClient" />
// now tried to connect at local ,attached the database to local sql server and tried
3)<add name="LocalSqlServer" connectionString="Data Source=xxx\SQLEXPRESS;Initial Catalog=Umbraco444;Integrated Security=True;MultipleActiveResultSets=true;" providerName="System.Data.SqlClient"/>
4)<remove name="LocalSqlServer">
<add name="LocalSqlServer" connectionString="Data Source=xxx\SQLEXPRESS;Initial Catalog=Umbraco444;Integrated Security=True;MultipleActiveResultSets=true;" providerName="System.Data.SqlClient"/>
But none of them worked.
Does any one can help?