Ok, so the assembly redirect bindings of Oracle's policy file or in the config file of your application apparently dont' always work.
Could you test the following:
- using the Runtime Library sourcecode (please download the latest from our website (customer area)
- open in the OracleDQE folder, the file AssemblyInfo10gDotNet20.cs and replace the reference to our strong key (which we obviosly don't ship with the code
) with an empty string or a reference to your own strong key
- open makefile10g_20 in notepad
- in the csc line, add:
/platform:x64
as a parameter to csc
- at the top you'll see references specified and a reference folder. Make sure the folder points to the folder where the .NET20 ormsupportclasses dll is found, and make sure that the path to the odp.net dataaccess dll is correct for your situation.
- save
- on the command line in the oracle dqe folder, type
vsvars32<enter>
this will make sure you can use the csc.exe compiler (C# compiler)
test this by typing:
csc /?<enter>
this should give a list of commands
proceed with typing:
mkdir DotNET2.0\bin<enter>
nmake /nologo /f makefile10g_20 clean<enter>
nmake /nologo /f makefile10g_20<enter>
You now should have in DotNET2.0\bin a DQE dll for oracle 10g, build for 64bit, referencing the ODP.NET 64bit latest version.
Then, reference THAT DQE dll in your application and try it again on 64bit.
If needed, there's an option to build the ormsupport classes on 64bit as well.
We don't have a 64bit OS running here at the moment, so I can't test what you suggested. It's a weird issue, the dll's should be selected properly, so it's not a code error somewhere, but if this is solved by building the runtime libraries on 64bit with the latest odp.net, why not