Solved

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

Posted on 2012-04-05
8
891 Views
Last Modified: 2012-04-11
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
0
Comment
Question by:solarissf
  • 4
  • 4
8 Comments
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37814981
You need to download and install Microsoft Access Database Engine 2010. http://www.microsoft.com/download/en/details.aspx?id=13255
0
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37814994
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.
0
 

Author Comment

by:solarissf
ID: 37815239
I installed both, same message
0
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37815260
Did you reboot the machine after reinstallation?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:solarissf
ID: 37815636
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?
0
 

Author Comment

by:solarissf
ID: 37816302
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
0
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37816325
you can check for CSV file format.
0
 

Author Comment

by:solarissf
ID: 37823330
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?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now