代码之家  ›  专栏  ›  技术社区  ›  Leandro De Mello Fagundes

尝试将firebird数据库与ODBC或C应用程序连接时出错

  •  0
  • Leandro De Mello Fagundes  · 技术社区  · 7 年前

    我正试图在Firebird数据库中连接我的c应用程序。使用用户和密码,我得到了firebird sql工具的作品。但是当我转到我的c应用程序时,我出现了一个错误。 这是odbc屏幕

    enter image description here

    这里是错误 enter image description here

    我必须设置

    WireCrypt = Enabled
    

    为了解决以前的一个问题,现在我正在尝试这个,但没有成功

    AuthServer=Srp,Legacy_Auth
    

    有人帮忙吗?提前感谢!

    编辑

    堆栈跟踪:

       at FirebirdSql.Data.Client.Managed.GdsConnection.Identify(String Database)
       at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateManagedDatabase(FbConnectionString options)
       at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options)
       at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
    

    FirebirdSql。数据FirebirdClient

    服务器版本

    enter image description here

    我不是指fbclient。dll还没有! 但我在安装Firebird之后就有了它。版本为 3.0.2.32703

    现在谢谢你!

    1 回复  |  直到 7 年前
        1
  •  1
  •   Leandro De Mello Fagundes    7 年前

    我只需转到Firebird文件夹(windows资源管理器)并更改每个人的安全性(对每个人的完全权限),就解决了我的问题。所以我的应用程序和odbc开始工作。 我肯定这不是正确的方法,但我现在解决了我的问题。