0

I am trying to access a Firebird server and when I try to open it via my C# application I get an exception saying incompatible wire encryption between server and user.

public void Connector(string command)
{
    FbConnectionStringBuilder csb = new FbConnectionStringBuilder();
    csb.DataSource = "localhost";
    //csb.Port = 3050;
    csb.Database = String.Format(@"{0}/database/database.fdb", AppDomain.CurrentDomain.BaseDirectory);
    csb.UserID = "SYSDBA";
    csb.Password = "masterkey";
    csb.ServerType = FbServerType.Default;

    FbConnection db = new FbConnection(csb.ToString());

    db.Open();

    FbCommand cmd = new FbCommand(command, db);
    cmd.ExecuteNonQuery();
}

I tried to run it as administrator, change config file of Firebird itself but none of it worked. Please help. Thanks

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
aPlutonicCoder
  • 116
  • 1
  • 11

1 Answers1

0

Just need to remove the #! Thank you

aPlutonicCoder
  • 116
  • 1
  • 11