Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kaushik1987 opened this issue May 10, 2019 · 2 comments

Comments

@Kaushik1987
Copy link

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 ?

@mrworkman
Copy link
Collaborator

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.

@uriellramos
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants