Link to home
Start Free TrialLog in
Avatar of Stephen Forero
Stephen ForeroFlag for United States of America

asked on

'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine - using web developer 2010 express

link to others

I have built a website using web developer 2010 express.  And use oledb to connect to excel on users desktop and get the following error message.
'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
I've found hundreds of posts on this and it seems most people download something from microsoft and problem fixes.  Other people have to set program to compile in 32bit mode.
Problem is everyone on here is using vsexpress and I am using web developer express, and I do not see how to change to compile in 32 bit mode to see if this fixes my problem.

Can someone please offer assistance.
The link below shows more details of how others fixed issue.

thank you!!!

http://stackoverflow.com/questions/238625/microsoft-ace-oledb-12-0-provider-is-not-registered
Avatar of Anuroopsundd
Anuroopsundd
Flag of India image

You need to download and install Microsoft Access Database Engine 2010. http://www.microsoft.com/download/en/details.aspx?id=13255
you can download and install 32 and 64 bit version of access database enging on your system

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255


This should resolve the issue.
Avatar of Stephen Forero

ASKER

I installed both, same message
Did you reboot the machine after reinstallation?
i unstalled access database objects, I had 2007 and 2010 versions on my pc.  Then I installed 64bit 2010 access database objects, (your link above), then tried other link for 32bit and it said it would not let me since I already had 64bit.  Re-booted and same error message.  
This is driving me crazy.  And the site works locally, just not live.... you can try it out.. its www.fundinception.com.  It shouldnt work for you since you dont have the excel file on your desktop it needs to work though.

any thing else I can do?  I dont need to compile in 32 bit mode?
after further researching... godaddy.com shared web host will not allow grabbing excel data from users pc to upload.  if this is true... are all shared web hosting companies the same way... godaddy wants me to have a dedicated server.  Is there any way I can convert this excel sheet before uploading data?  I mean for my website to connect to excel file... convert data to acceptable format... then upload?

is this possible
ASKER CERTIFIED SOLUTION
Avatar of Anuroopsundd
Anuroopsundd
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
let me know if I should put this in a new post... if so I will do so right away.

I used streamreader to read csv as we discussed and it works locally.  But when I put it on web host it fails with error message below:

Could not find file 'C:"usersdesktop"\comma.csv'.
Line 38:         StreamReader sr = new StreamReader(path+mainDataFile);


 

I was trying to get my webpage to find users desktop automatically, then grab the file called comma.csv.  without uploading anything.

path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);

mainDataFile = @"\comma.csv";


StreamReader


sr = new StreamReader(path+mainDataFile);




 

From when I'm reading on the web, internet security does not allow a webpage to allow access locally to a users pc.  There has got to be some way to find the file on the users desktop.  What do you think?