I could establish the connection to a Firebird database with the following connection string:
ConnectionString = "User ID=SYSDBA;Password=masterkey;Database=localhost:C:\\MyDb\\mydb.FDB;DataSource=localhost;Charset=NONE;";
But when the C# code tries to execute the query the following error comes:
Dynamic SQL Error SQL Error Code = -204 Table unknown
The code that I've tried:
using FirebirdSql.Data.FirebirdClient;
...
FbConnection connection = new FbConnection(ConnectionString);
connection.Open();
FbCommand readCommand = new FbCommand("Select Name From Customer;", connection);
FbDataReader myreader = readCommand.ExecuteReader();
There definitely exists the Customer table (I've checked with IBExpert - in that I can read the data). I hardly found anything on Google.
Firebird 2.5 server is running on my Computer. What could be the problem?