2015-07-11 82 views
1

我已经安装FirebirdSql.Data.FirebirdClient v4.6.4.0(来自msi) ,然后通过DDEX提供程序3.0.1(来自msi) VS.用于Firebird的DDEX提供程序3.0.1与Visual Studio Pro 2013

我的位置Ç检查GAC:\ WINDOWS \ Microsoft.NET \装配\ GAC_MSIL \ FirebirdSql.Data.FirebirdClient \ v4.0_4.6.4.0__3750abcc3150b00c 并有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

我试图安装和uninstalltion提供商几次,也没有帮助。

这里是代码从我的machine.config文件: C:\ WINDOWS \ Microsoft.NET \框架\ 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> 

任何帮助将非常感激。

+0

删除machine.config中的第二个firebird条目。 – magicandre1981

+0

@ magicandre1981,谢谢你的提示,这是重点,但是,而不是数据提供商的错误,现在我得到“连接被远程接口拒绝”。 我从头开始卸载并安装了firebird 3.0(beta2),没有帮助。 我发现了一些提示,如将System32目录中的gds32.dll复制到SysWOW64,但它没有任何帮助。 – robsonwk

+0

您是否也在FB 2.5.4中遇到错误?也许新的3.0认证会导致问题。在这里阅读第42页:http://web.firebirdsql.org/download/prerelease/rlsnotes/Firebird-3.0.0_Beta2-ReleaseNotes.pdf – magicandre1981

回答

1

您收到错误"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时,可能会因3.0的新身份验证而发生"connection rejected by remote interface"错误。在这里,您必须降级到2.5.4,enable the old legacy authentication或等待.Net提供程序的更新以完全支持Firebird 3.0,包括新的身份验证。

+0

当使用传统身份验证时,Firebird .NET提供程序与Firebird 3协同工作,但它不支持加密和新身份验证等新协议功能。您需要将导线加密设置从必需(默认值)更改为启用或禁用,并启用传统认证。 –

+0

@MarkRotteveel感谢您提供有用的信息。请将其添加为答案的编辑,因为我没有试过3.0喷气机。 – magicandre1981

+0

@马克Rotteveel,谢谢,通过禁用电线加密我可以连接! – robsonwk

相关问题