One of the things that I got when I migrated my C# application from 32 bits machine to 64 bits machine is the driver problem.
The reason that you could have this problem
- Your application is running as a 64-bit application and the 64-bit Oracle Provider for OLE DB is not installed or registered.
- Your application is running as a 32-bit application and the 32-bit Oracle Provider for OLE DB is not installed or registered.
You could verify the 32 bits drivers installed by running “C:\Windows\SysWOW64\odbcad32.exe”
For OLEDB, you could create a UDL file by running
C:\Windows\syswow64\rundll32.exe "C:\Program Files (x86)\Common Files\System\Ole DB\oledb32.dll",OpenDSLFile C:\temptest.udl