Register Access type library - Vista x64

C

Charlie Holmes

I have been trying to create a simple Access 2007 database program in
Visual C# 2008 Express on a laptop with the 64 bit version of Vista. The
program compiles without error, but no data is displayed in the
DataGridView. Running the compiled exec file gives the following error:
"Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine".

Does anyone know how to register the Access type library? I never had
this problem developing on XP Professional 32 bit.

Thanks,
Charlie
 
R

Robert Janik

Unfortunately you have to go back to 32-bit. x64 Provider is not available
:-(. Change your project configuration to use "x86" platform instead of "Any
CPU" and recompile.
 
Top