I am trying to deploy my Visual Studio 2012 express LocalDB project to a remote host (another server in the sandbox) which is runnning SQL SERVER 2012 express. I changed the connection string in the web.config to match the instance name but it still doesnt work. Each time it fires off a dataset it fails with an error stating it cant find the instance.
Will I really have to go through the Dataset.Desinger.vb file and change the server\instance name for every project I do using LocalDB?
How exactly is this suppose to make things easier? :)
Dataset.Designer.vb autogenerated connection code:
Private Sub InitConnection()
Me._connection = New Global.System.Data.SqlClient.SqlConnection()
Me._connection.ConnectionString = "Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated" & _
" Security=True;User Instance=False"
End Sub