首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Firebird数据访问设计器(DDEX)安装

Firebird数据访问设计器(DDEX)安装
EN

Stack Overflow用户
提问于 2010-02-06 14:18:48
回答 1查看 2K关注 0票数 0

嗨,我想使用firebird库,我遵循了下面的说明,但是我得到了“无法找到引用的组件'FirebirdSql.Data.Firebird‘”。错误。

指示:

先决条件

确保不支持Visual edition.

  • Express 2005标准版或更高版本的edition.

  • Express

注册表更新

%Path%.

  • Install

  • 记住更新FirebirdDDEXProviderPackageLess32.reg或FirebirdDDEXProviderPackageLess64.reg中的路径,将其标记为将.reg文件标记为注册表的位置。

Machine.config更新

将以下两个部分添加到C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config (通常位于64位系统上的C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config和machine.config )中.

代码语言:javascript
复制
<configuration>
  ...
  <configSections>
    ...
    <section name="firebirdsql.data.firebirdclient" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    ...
  </configSections>
  ...
  <system.data>
    <DbProviderFactories>
      ...
      <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".Net Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=%Version%, Culture=%Culture%, PublicKeyToken=%PublicKeyToken%" />
      ...
    </DbProviderFactories>
  </system.data>
  ...
</configuration> 

其次:

代码语言:javascript
复制
%Version% With the version of the provider assembly that you have in the GAC.
%Culture% With the culture of the provider assembly that you have in the GAC.
%PublicKeyToken% With the PublicKeyToken of the provider assembly that you have in the GAC.
EN

回答 1

Stack Overflow用户

发布于 2010-02-06 15:10:47

在项目中添加了对程序集的引用吗?如果不是,右键单击“参考解决方案资源管理器”并选择“add reference”。找到Firebird客户端程序集并添加它。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/2213373

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档