Hello:
>
> Is it possible to edit the file 
> _C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config_ 
> and insert the Firebird Provider like:
>
>        <system.data>
>             <DbProviderFactories>
>                <add name="Odbc Data Provider"      
>                        invariant="System.Data.Odbc"
>                        description=".Net Framework Data Provider for 
> Odbc"    
>                        type="System.Data.Odbc.OdbcFactory, System.Data,
>                        Version=2.0.0.0, Culture=neutral, 
> PublicKeyToken=b77a5c561934e089"
>                />
>             </DbProviderFactories>
>         </system.data>

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

Subst:

%Version%        -> The version of the provider assembly you are using.
%Culture%        -> The culture of the provider assembly you are using.
%PublicKeyToken% -> The Public Key Token of the provider assembly you 
are using. 





-- 
Carlos Guzmán Álvarez
Vigo-Spain

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to