RSS Feed for This PostCurrent Article

Database Connectivity – 32 bits versus 64 bits

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.

   1: The 'OraOLEDB.Oracle' provider is not registered on the local machine

The reason that you could have this problem

  1. Your application is running as a 64-bit application and the 64-bit Oracle Provider for OLE DB is not installed or registered.
  2. 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

image


Trackback URL


Sorry, comments for this entry are closed at this time.