2015-07-11 85 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

相關問題