I want to test dapper micro orm with firebird db and I'm struggle with access to firebird.
Firebird server is up and running, database is populated with some dummy data, and it is stored in c:\mydatabases\test.fdb
Connection string is
<add name="testDatabase" connectionString="User=SYSDBA;
Password=XXX; Database=c:\mydatabases\test.fdb;
Data Source=127.0.0.1;" />
Inside my repository I'm accessing to the db using IDbConnection
private IDbConnection db =
new SqlConnection(ConfigurationManager.ConnectionStrings["testDatabase"]
.ConnectionString);
but when I'm trying to access data exception is thrown
A first chance exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
Additional information: 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Is it possible to use IDbConnection
with firebird
and if it's not what do you suggest.
Thanks