Answer the question
In order to leave comments, you need to log in
Why can't I connect to the Firebird database?
Wrote the simplest code, the error occurs on the line fbc.Open();
FbConnectionStringBuilder csb = new FbConnectionStringBuilder
{
DataSource = "LOCALHOST",
Charset = "WIN1251",
Database = @"D:\Университет\ДЗ во время дистанционки\Языки\Task2.fdb",
UserID = "SYSDBA",
Password = "masterkey",
ServerType = FbServerType.Default
};
FbConnection fbc = new FbConnection(csb.ToString());
fbc.Open();
FbDatabaseInfo fb_inf = new FbDatabaseInfo(fbc); //информация о БД
fbc.Close();
Answer the question
In order to leave comments, you need to log in
I gave up and installed version 2.5
UPD1: Restarting the server can also help. (Turning off and on an application or service)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question