My working SQL Server 2014 connection string is:
Data Source=localhost;Initial Catalog=myDb;Integrated Security=True;
I need to install a new instance of SQL Server 2016 on the same server. Therefore I need to modify the existing connection string and to add the instance name.
I was trying (MSSQLSERVER is the instance name):
"Data Source=localhost\MSSQLSERVER;Initial Catalog=myDb;Integrated Security=True;" providerName="System.Data.SqlClient"
AND:
"Server=localhost/MSSQLSERVER;Database=myDb;User Id=user; Password=password;" providerName="System.Data.SqlClient"
AND more but could not make it work.
The error I am getting is:
The network name cannot be found

connectionString="Data Source=localhost\v11.0or maybeServer=localhost\MSSQLLocalDB.. got this from here: msdn.microsoft.com/en-us/library/hh510202.aspx