I am getting the following exception in the debugger for my Windows Console application:
Exception Message: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Exception Source: Oracle.DataAccess
Exception StackTrace: at Oracle.DataAccess.Client.OpsTrace.GetRegTraceInfo(UInt32& TrcLevel)
at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
at DPDGeocodeToSDETable.Program.Main(String args) in C:\Documents and Settings\dunhamm\My Documents\Visual Studio 2005\Projects\DPDGeocodeToSDETable\DPDGeocodeToSDETable\Program.cs:line 30
I have compiled web apps with this same dll in the same VS 2005 environment on the same machine and did not see this error.
The OS is Windows 2003 Server 64-bit running 32-bit IIS. VS 2005 is installed as x86.