LinqToExcel icon indicating copy to clipboard operation
LinqToExcel copied to clipboard

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

Open Kaushik1987 opened this issue 6 years ago • 3 comments

I have installed the 64 version of "AccessDatabaseEngine_X64.exe" however for file .xlxs I m getting the error The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

But file .xls is working file for processing.

What could be the possible cause for this ?

Kaushik1987 avatar May 10 '19 08:05 Kaushik1987

Your project is probably targeting "any cpu", or "x86".

I'm assuming you're using a 1.x version of LinqToExcel, so that means it uses the Jet database engine when compiled for x86, which is the reason it can read .xls files but not .xlsx files.

Please either change your project to an x64 target, or install the 32-bit version of the ace database engine instead.

mrworkman avatar May 10 '19 12:05 mrworkman

I Have an issue, Only occur on webserver I have installed ACE.OLEDB.12 .....15 .... and 16 x64 but the error it is the same "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine".

I have also tested to change the application target to "Any CPU", "x86" and "x64"

uriellramos avatar Aug 07 '20 01:08 uriellramos