您的位置:首页 > 其它

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

2017-03-03 20:56 633 查看


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

Ask
Question

up
vote174down
votefavorite
36

I'm trying to get data from an Excel file on a button click event. My connection string is:
string connString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\source\\SiteCore65\\Individual-Data.xls;Extended Properties=Excel 8.0;";


When I click on the button, I got the following error:

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

I have no clue how to fix this. My operating system is Windows 7.

c# vb.net excel ole
shareimprove
this question
edited Aug
9 '15 at 18:00





cybermonkey
1,60352552

asked Jul 11 '11 at 11:23





Shailesh Sahu
928397

 add
a comment


23 Answers

activeoldestvotes

up vote223down
voteaccepted
Well, you need to install it. You're looking for:
The 2007 Office
System Driver: Data Connectivity Components.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐