Everything was working fine when I was working with a 64bit app on a 64bit machine; I've been developing this app for over a year. As of yesterday, I was forced to produce a 32bit app because I must integrate a legacy DLL for which there is no 64bit version. And that is where the horror started. Here's what I have going on at the test machine:
- OS is Windows Server 2016
- Application built as x86
- ORMSupportClasses and DQE.OracleODPNet built with the app which picks them up from the LLBLGen 5.5.4 install directory
- Database is Oracle 12c
- Client is Oracle 12c 32bit
- I can connect to the database just fine from the server using SQL Developer that was installed with the client.
Here is the stack trace that I found in the event viewer:
Application: ConfigurationManager.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: SD.LLBLGen.Pro.ORMSupportClasses.ORMGeneralOperationException
at SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.get_FactoryToUse()
at SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.InitializeSpecificDbTypeCache()
at SD.LLBLGen.Pro.DQE.Oracle.OracleSpecificCreator.SetDbProviderFactoryParameterData(System.Collections.Generic.List1<SD.LLBLGen.Pro.ORMSupportClasses.ValuePair
2<System.String,System.String>>, System.String)
at SD.LLBLGen.Pro.DQE.Oracle.DynamicQueryEngine..cctor()
Exception Info: System.TypeInitializationException
at SD.LLBLGen.Pro.DQE.Oracle.DynamicQueryEngine..ctor()
at base_namespace.LLBLGen.Oracle.DataAccessAdapter.get_QueryEngine()
at base_namespace.LLBLGen.Oracle.DataAccessAdapter.GetConnectionString(base_namespace.Common.DataTypes.SystemConfiguration)
at base_namespace.LLBLGen.Oracle.DbAdapter..ctor()
at base_namespace.LLBLGen.Oracle.DbAdapter.GetLocalAdapter(base_namespace.LLBLGen.Oracle.DbAdapter ByRef)
at base_namespace.Business.DataTypes.BusinessDataBucket.LogError(System.Exception, System.Object, base_namespace.LLBLGen.Oracle.DbAdapter, System.Reflection.Assembly, Int32, System.String)
at base_namespace.Business.DataTypes.BusinessDataBucket.CurrentDomainUnhandledException(System.Object, System.UnhandledExceptionEventArgs)
Any help would be greatly appreciated.