Loading ...

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

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  architecture   » The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

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

Posts under the topic: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

Posted: 11/1/2011

Lurker 15  points  Lurker
  • Joined on: 10/14/2011
  • Posts: 3

Hi All,

I am trying to read excel file and performing some operations. It works fine for local host but causes error when doing on remote server.

I have install access database engine on server and changed connection string as follows

original :-

FileConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + FullFilePath + "; Extended Properties=Excel 8.0;";

 

changed to:-

FileConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + FullFilePath + ";Extended Properties=\"Excel12.0HDR=YES;\""; 

 

but still getting error as

 

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

 

 

kindly suggest solution asap.

Thanks.

 

 


Page 1 of 1 (1 items)