I'm trying to connect to a local database (a ".db" file in my computer) but I get an error when I try to open the connection.
I'm using Sharp Develop (I can't use the connection wizard of Visual Studio to get the con. String).
String connectionString = @"Data Source=C:\Users\Adl\Documents\BBDD_Test.db";
var c = new SqlConnection(connectionString);
c.Open();
The error :
System.Data.SqlClient.SqlException: 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)
What's happening ?