Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
hi
i'm running
os: sql server 2012 x64
sql server: microsoft sql server 2008 r2

i created an application in asp.net framework 4.0

when i try to import an excel file it is giving error

"microsoft.oledb.12.0 not registered on local machine"

i installed
http://www.microsoft.com/en-us/download/details.aspx?id=13255[^]
but it is still giving the error

please tell me which version of microsoft.oledb to install in the server

thank you
Posted
Updated 4-Oct-13 0:56am
v2
Comments
Richard MacCutchan 4-Oct-13 7:12am    
The message tells you which version to install, so you need to make sure you get the right one. Where does the message appear - server or client?

HOW TO: FIX ERROR - "the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine.Check below link.

http://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine[^]

I hope this will help to you.
 
Share this answer
 
Comments
write2varun 4-Oct-13 7:01am    
i tried it's not working
Sampath Lokuge 4-Oct-13 7:02am    
Have you tried with 2nd option also?
write2varun 4-Oct-13 7:06am    
yes
Sampath Lokuge 4-Oct-13 7:12am    
OK then,You have to remove previously installed components completely and restart the machine.After that try again for install "Microsoft Access Database Engine 2010 Redistributable
" component.Try it.May be some corruption of your installation caused for above error.
write2varun 4-Oct-13 7:25am    
installed 3 times,restarted 3 times
To check the driver is installed or not open ODBC Data Source Administrator
(ODBCADM.EXE or ODBCAD32.EXE)
(Start > Run > type ODBCAD32.EXE and hit enter) and check under the Drivers tab
Click the "Drivers" button
Choose the desired ODBC driver
Click the "About" button
Version information will be displayed for the selected driver.

Check This[^]
 
Share this answer
 
v3
i installed 32 bit
its working
 
Share this answer
 

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



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