i am encountering an exception in my in my application at these lines of code.
DatabaseProviderFactory dbFactory =
new DatabaseProviderFactory(dataSource);// Create and return a database object.
i am getting this exception at the create line
The current build operation (build key Build Key[Microsoft.Practices.EnterpriseLibrary.Data.Database, 125ba2c1-9573-45be-b8a2-b370deff980d]) failed: Exception has been thrown by the target of an invocation. (Strategy type ConfiguredObjectStrategy, index 2)
I have referenced the proper assemblies in my project and on other systems, its working fine.
The connection string is DB2.My db2 connection is also good with no issues. My stack Trace
View Complete Post