Use vs2008 C # To develop a database query on a 64-bit PlatformProgramTo connect to Oracle 8i, you must use Oracle. dataaccess. dll of version 2.102.4.0 or earlier. To run IIS in 64-Bit mode, you must also select a 64-bit DLL
I encountered the following errors:
1. ORA-03134: cannot connect to servers of this version. (Oracle. dataaccess. dll version is too high) (use the link library provided by Microsoft)
Note:
(1) If you use system. Data. oracleclient to access Oracle, the client component version should be later than Oracle 8i client Release 3 (8.1.7. The MS only ensures access to Oracle 8.1.6, Oracle 8.1.7, and Oracle 9i servers. MDAC 2.6 or above.
(2) If you use system. Data. oledb to access Oracle, the client component version 7.3.3.4.0 or later may be 8.1.7.4.1 or later. MDAC 2.6 or above. If the server is Oracle8i or above, the client component version should be 8.0.4.1.1c.
2. badimageformatexception is thrown when you try to load the Oracle client library. If the 32-bit Oracle client component is installed and runs in 64-Bit mode, this problem occurs (IIS 64-bit)