Microsoft.Jet.OLEDB.4.0 provider is not registered

prashiddha picture prashiddha · Sep 22, 2011 · Viewed 9k times · Source

Hi I am getting a problem like this while uploading filetype .xls "Error in excel file:The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."

I am using following system versions:

  1. 64-bit Operating System( Windows 7).
  2. 32-bit Office of which I have attached screen shot.
  3. Trying these for .aspx pages in C#.

I have tried following:

  1. Downloading 32 and 64 bits of Microsoft.Jet.OLEDB.4.0 from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255.

  2. Tried IIS Edit Application Pool > Advanced Setting > Enable 32-Bit Applications :True.

BUT BOTH OF THEM ARE NOT WORKING FOR ME. DO ANYONE HAVE GOT AN IDEA?

containt of Image mentiontioned are here:

Microsoft Office Professional Plus 2010

Version: 14.0.4760.1000(32-bit)

Answer

Simon Mourier picture Simon Mourier · Sep 22, 2011

If you installed Office 32-bit, then you need to install the Access Database Engine 2010 64-bit on the machine, but there is a trick to install it. See here about the 'passive' argument: Microsoft Access Database Engine 2010 Redistributable