tags:

views:

92

answers:

2

I try to run Console Application that connects to Microsoft Access Database on the Windows 2008 server x64 and have this error:

Class not registered
   at ADOX.CatalogClass.Create(String ConnectString)

All works fine on the Windows XP x86.

Thanks

A: 

ADOX COM component is only available for x86 systems. This means that it cannot be used on code that is generated for the x64 platform. A possible solution is to explicitly set the target processor in the Visual Studio project to x86.

Darin Dimitrov
A: 

For fixing this bug, application should be compiled for x86 CPU. And after that it will run on the x64 platform as a x86 app.

msi