1
I created an application with Windows Forms connecting to Firebird, where on my development machine everything works perfectly, but when I put in client machine, the following error occurs:
System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed. at System.Data.Common.DbProviderFactories.GetFactory (String providerInvariantName) at System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig (String name) at System.Data.Entity.Internal.LazyInternalConnection.Initialize () at System.Data.Entity.Internal.LazyInternalConnection.get_ConnectionHasModel () at System.Data.Entity.Internal.LazyInternalContext.InitializeContext () at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType (Type entityType) at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize () at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext () at System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider () at System.Linq.Queryable.Where [TSource] (IQueryable`1 source, Expression`1 predicate) at Infrastructure.Data.Seedwork.Repository`1.GetFiltered (Expression`1 filter) at SanNuvens.SpedEFD.FrmGeraSped.FrmGeraSped_Load (Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad (EventArgs and) at System.Windows.Forms.Form.OnCreateControl ()
how is your app.config ?
– Rovann Linhalis
<configuration>
 <connectionStrings>
 <add name="MainBCUnitOfWork" connectionString="Server=192.168.7.162;User=SYSDBA;Password=a123456;Database=C:\Gerencial\Sans\Banco\geral.fdb;Port=3050;Dialect=3;Charset=ISO8859_1" providerName="FirebirdSql.Data.FirebirdClient"/> </connectionStrings>
– Rogerio.Paz
on the client machine, is taking the library containing the Provider
FirebirdSql.Data.FirebirdClient
?– Rovann Linhalis
then Rovann la in the client folder along with the dll needed to Firebirdsql.Data.Firebirdclient.dll this is also there...
– Rogerio.Paz
in your customer app.config, the
dll
is registered in the section<system.data>
?– Ricardo Pontual
Ricardo Punctual sorry for the delay and thank you for your attention, I’m sorry but I didn’t understand your question, and how I would do that ??
– Rogerio.Paz