Firebird Data Access Designer (DDEX) installation

Posted by persian Dev on Stack Overflow See other posts from Stack Overflow or by persian Dev
Published on 2010-02-06T14:18:48Z Indexed on 2010/05/10 20:04 UTC
Read the original article Hit count: 376

Filed under:
|
|
|

hi i want to use firebird library , and i followed its instruction as below , but i get "The referenced component 'FirebirdSql.Data.Firebird' could not be found." error.

instruction :

Prerequisites

  1. Make sure that you have Visual Studio .NET 2005 Standard or higher edition.
  2. Express editions are not supported.

Registry update

  1. Remember to update the path in FirebirdDDEXProviderPackageLess32.reg or FirebirdDDEXProviderPackageLess64.reg, places where to update it are marked %Path%.
  2. Install the .reg file into the registry.

Machine.config update

Add the following two sections to machine.config (located usually at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config and C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config on 64-bit system).

<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> 

And subst:

%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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about firebird