Click here to Skip to main content
12,348,674 members (52,388 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
Hi,

In my application,when i import excel data to sql server 2008
i got the following error,
Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

its work fine in my local machine but in server it display the above error
Posted 30-Dec-12 19:52pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Because on your local machine the used components(excel,access,word) are installed. But on the server for security reason these components are not installed, that's why you are getting this error. Try the following solution:
http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/1d5c04c7-157f-4955-a14b-41d912d50a64[^]
  Permalink  
Comments
Ganesh MS 31-Dec-12 4:03am
   
MS office 2007 is also installed in Server
but same error displayed

In server
64 bit os
32 office

In my machine
32 bit os
32 bit office
Zafar Sultan 31-Dec-12 4:08am
   
There are two solutions in the link provided above they both work for 64 bit OS. Try both of them. If niether works tell us again.

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


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 31 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100