Is LocalDB supported in Visual Studio 2010 in Entity Framework 5, on .NET 4.0?
Or am I doing it wrong? I get the message "Could not find the network path" when creating an instance of my model container with the connection string for LocalDB.
Here's the connection string:
var connectionString = "metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string=\"data source=(localdb)\v11.0;initial catalog=fablelane_com_db;integrated security=SSPI;multipleactiveresultsets=True;App=EntityFramework\"";
Edit 1 When connecting, I get the following error:
When connecting to SQL Server, a network-related or specific instance error occurred. The server was not found or was not available. Verify the instance name is correct and configure SQL Server to connect remotely. (provider: Named Pipes provider, error: 40 - Could not open a connection to SQL Server).
Edit 2 I just realized that switching to the beta version of Visual Studio 11 does not work either. However, you are getting the same error message.
Mathias lykkegaard lorenzen
source share