nks
nks

Reputation: 61

Oledb Issues while reading data from an Excel file in a website hosted on IIS 7

I have a website which will use OleDB.12.0 to read data from an Excel worksheet upon upload. It works fine on my local PC. But when hosted in my production server I get the following error.

microsoft.ace.oledb.12.0 is not registered on the local machine

How can I correct this?

My production server configuration:

Upvotes: 0

Views: 1219

Answers (1)

Zev Spitz
Zev Spitz

Reputation: 15327

Does your production server have Access installed?

In any event, try installing/reinstalling Microsoft Access Database Engine 2010 Redistributable to the production server.

Update

Another point: is your production server running 32-bit or 64-bit Windows? Choose the download appropriately.

Update 2

From this link it appears that using the 64-bit version will cause trouble on a 32-bit system, but the 32-bit version will work.

Upvotes: 1

Related Questions