DDEX 提供程序 3.0.1 for Firebird with Visual Studio Pro 2013

DDEX provider 3.0.1 for Firebird with Visual Studio Pro 2013

我已经安装了 FirebirdSql.Data.FirebirdClient v4.6.4.0(来自 msi) 然后是 DDEX 提供程序 3.0.1(来自 msi),可以通过 VS 进行数据操作。

我在位置 C:\Windows\Microsoft.NET\assembly\GAC_MSIL\FirebirdSql.Data.FirebirdClient\v4.0_4.6.4.0__3750abcc3150b00c 检查了 GAC 正如预期的那样 FirebirdSql.Data.FirebirdClient.dll

不幸的是,我在服务器资源管理器中尝试设置新数据连接时遇到错误 "Unable to find the requested .NET Framework Data Provider. It may not be installed"

我多次尝试安装和卸载提供商,但没有帮助。

以下是我的 machine.config 文件中的代码: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config

<system.data>
    <DbProviderFactories><add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/><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=4.6.4.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/><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=4.6.4.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/></DbProviderFactories>
</system.data>

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config

<system.data>
    <DbProviderFactories><add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/><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=4.6.4.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/><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=4.6.4.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/></DbProviderFactories>
</system.data>

任何帮助将不胜感激。

您收到错误 "Unable to find the requested .NET Framework Data Provider. It may not be installed",因为您在 machine.config 中有第二个 firebird 条目。发生这种情况是由于 to a bug in the installer 仍未解决。

使用Firebird 3.0时出现"connection rejected by remote interface"错误,可能是因为3.0新的认证方式。在这里你必须降级到 2.5.4,enable the old legacy authentication 或等待 .Net 提供商的更新以完全支持 Firebird 3.0,包括新的身份验证。