It is possible with a .net application to connect to a Oracle db without installing any odp.net client ( just by having the necessary dlls in the same folder, method described here http://www.splinter.com.au/using-the-new-odpnet-to-access-oracle-from-c/ ). We have been using this method with ora 11g dlls, .net framework 1.1 and llbl v1. We are now migrating to .net framework 4.5 and llbl v5. We prepared everything (llblgen project, .net sources) on a machine with odp.net installed and it works. When trying on a machine without odp.net installed, we have this error:
None of the factories in the list of 'Oracle.ManagedDataAccess.Client, Oracle.DataAccess.Client' were found. Please check machine.config and the .NET version your application is running on.
at SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.get_FactoryToUse()
at SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.InitializeEnumTypeCache()
at SD.LLBLGen.Pro.DQE.Oracle.OracleSpecificCreator.SetDbProviderFactoryParameterData(List`1 dbProviderFactoryInvariantNamesWithEnumTypeNames, String dbProviderSpecificEnumTypePropertyName)
at SD.LLBLGen.Pro.DQE.Oracle.DynamicQueryEngine..cctor()
And to further complicate the issue, I'm told it's not possible to modify the machine.config file on the clients' workstations
I know we could use the ODP.Net Managed driver, but it has some disadvantages (performance, not working with encryption etc) so we would prefer to use the same version as before. Do you think it's possible?