1

我已经安装了 FirebirdSql.Data.FirebirdClient v4.6.4.0(来自 msi)和 DDEX provider 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"不幸的是,在服务器资源管理器中尝试设置新数据连接时出现错误。

https://dl.dropboxusercontent.com/u/64347130/ddex_problem.jpg

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

以下是我的 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>

任何帮助将不胜感激。

4

1 回答 1

1

您收到错误"Unable to find the requested .NET Framework Data Provider. It may not be installed"是因为您在machine.config. 这是由于安装程序中的错误仍未解决。

当您使用 Firebird 3.0 时会发生该"connection rejected by remote interface"错误,可能是因为 3.0 的新身份验证。在这里,您必须降级到 2.5.4,启用旧的身份验证或等待 .Net 提供程序的更新以完全支持 Firebird 3.0,包括新的身份验证。

于 2015-07-17T04:10:20.240 回答