Jun 12, 2013 at 4:19 PM
Edited Jun 12, 2013 at 4:21 PM
I use the following configuration in Enterprise Library 5.0 .NET 4.0 code and it works fine:
Microsoft.Practices.EnterpriseLibrary.Data" name="IBM.Data.DB2.iSeries" />
On Enterprise Library 6.0 in .NET 4.5 it fails with:
Database provider factory not set for the static DatabaseFactory. Set a provider factory invoking the DatabaseFactory.SetProviderFactory method or by specifying custom mappings by calling the DatabaseFactory.SetDatabases method.
I suppose this means that the configuration is failing but the question is why? Is there a machine config entry that matters here? (There is nothing else strange about my environment - I'm just trying to talk to an AS400 DB2 database which I can hit thru the
dedicated driver with no problems. Just want to use the DAAB (like I was able to in 5.0.)