From the Firebird_v2.1.4.InstallationGuide.pdf from embeded package:
Client access can be only via the local (XNET) protocol, i.e. NOT a TCP/IP local loopback connection string that includes the server name “localhost” or the IP address 127.0.0.1. The embedded server supports only the local connect to an absolute database file path without a server name.
so this DataSource=localhost
is not supported (when I run that code i get the same error with Unsupported keyword: 'datasource'
)
But there is one more thing. The FAQ say (http://www.firebirdsql.org/en/firebird-net-provider-faq/#1):
- What versions of the MS.NET Framework are supported?
.NET 1.0, .NET 1.1, .NET 2.0 and the .NET Compact Framework 2.0
but in the download section says (http://www.firebirdsql.org/en/net-provider/):
October 5, 2013 - NETProvider-3.2.0.0.msi - 815 KB - FirebirdClient, Windows installer
October 5, 2013 - NETProvider-3.2.0.0-NET40.7z - 322 KB - FirebirdClient - .NET 4.0
October 5, 2013 - NETProvider-3.2.0.0-NET45.7z - 349 KB - FirebirdClient - .NET 4.5
So connector is for NET 4.0/4.5 but embeded says it supports only NET 2.0 ? I'm bit confused...