In my App.config I have,
<system.data>
<DbProviderFactories>
<remove invariant="FirebirdSql.Data.FirebirdClient" />
<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=3.0.2.0, Culture=neutral,
PublicKeyToken=3750abcc3150b00c" />
</DbProviderFactories>
</system.data>
<connectionStrings>
<clear />
<add name="Entities" providerName="FirebirdSql.Data.FirebirdClient"
connectionString="User=SYSDBA;Password=masterkey;Database=C:\Pearlpos\Data\Store.fdb;DataSource=localhost;Port=3050;Dialect=3;Charset=NONE;Role=;Connectionlifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet
Size=8192;ServerType=0;" />
</connectionStrings>
<entityFramework>
<defaultConnectionFactory
type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory,
EntityFramework">
<parameters>
<parameter value="FirebirdSql.Data.FirebirdClient" />
</parameters>
</defaultConnectionFactory>
</entityFramework>
In my Machine.config I have,
<configSections>
...
<section name="firebirdsql.data.firebirdclient"
type="System.Data.Common.DbProviderConfigurationHandler, System.Data,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
....
</configSections>
<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=3.0.2.0, Culture=neutral,
PublicKeyToken=3750abcc3150b00c"/>
</DbProviderFactories>
</system.data>
Do I have to configure in my customer system...
Thanks...
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jiri Cincura
Sent: Tuesday, May 21, 2013 12:36 AM
To: [email protected]; For users and developers of the Firebird .NET
providers
Subject: Re: [Firebird-net-provider] Unable to find the requested .Net
Framework Data Provider
The provider factory is not registered in app.config (or machine.config).
--
Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ |
http://www.ID3renamer.com
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider