You want to add Firebird's entry also in the test project app.config file.
Include a remove before the add too.
Hernán MF S
El 01/08/2013, a las 22:08, "Bradburn, Greg (LNG-RDU)"
<gregory.bradb...@lexisnexis.com> escribió:
> Greetings,
>
> We are using Firebird 2.0.1 in embedded mode and everything works fine in the
> application but whenever I try to run unit tests against Firebird I get
> either:
> System.ArgumentException: Unable to find the requested .Net Framework Data
> Provider. It may not be installed. at
> System.Data.Common.DbProviderFactories.GetFactory(String
> providerInvariantName)
>
> or
> System.Configuration.ConfigurationErrorsException: Failed to find or load the
> registered .Net Framework Data Provider. at
> System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow)
>
> The former if have an entry in machine.config for
> FirebirdSql.Data.FirebirdClient and the latter if I remove it.
>
> I have spent days trying to diagnose this. I have verified that all the
> required dlls and supporting files for Firebird
> embedded get copied to the TestResults\Out folder.
>
> I had this issue in VS 2010 and am still having the issue after migrating my
> projects to VS 2012 and .Net 4.5.
>
> I tried upgrading Firebird to 2.5.2 and the Firebird Client to 3.0.2 and had
> the
> exact same results.
>
> Thanks in advance for any help you can offer on this.
>
> Regards,
>
> Greg B.
>
> Regards,
> Greg.
>
> Greg Bradburn
> Sr. Software Engineer
> LexisNexis – Business of Law Software Solutions
> 2000 Regency Pkwy, Suite 600
> Cary, NC 27518
> 919-297-1788 Direct
>
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> Firebird-net-provider mailing list
> Firebird-net-provider@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider