Click here to Skip to main content
15,117,095 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My code is work fine on local server when i upload on server then error message is shown : " The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. "

while i have upload a .xlsx file.

kindly give me solution...

What I have tried:

My code is work fine on local
Posted
Updated 17-Aug-21 21:48pm

1 solution

The error is pretty explicit and self explanatory: the ACE 12.0 database engine is not installed on the web server.
Start here: Download Microsoft Access Database Engine 2010 Redistributable from Official Microsoft Download Center[^]
   
Comments
Maciej Los 18-Aug-21 3:22am
   
5ed!
I'm wondering why the people still asking the same question, if there's tons of answers in that subject.
Richard MacCutchan 18-Aug-21 3:27am
   
Simple. They never try to find the answer for themselves.
Maciej Los 18-Aug-21 7:08am
   
"Sad but true" as the classic says.
PIEBALDconsult 18-Aug-21 9:47am
   
They don't like the answer, it's "too hard".
Richard MacCutchan 18-Aug-21 10:31am
   
Even more true.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900