'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
AskQuestion
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
| |||
add a comment |
23 Answers
activeoldestvotesup vote223down voteaccepted | Well, you need to install it. You're looking for: The 2007 Office System Driver: Data Connectivity Components. |
相关文章推荐
- 导入xlsx文件提示:The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
- The ‘Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine. (System.Data)
- The ‘Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine (zz)
- Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
- 关于异常“The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine”的处理
- The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
- The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
- The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local Machine 完美解决
- 关于异常“The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine”的处理
- The 'Microsoft.ACE.Oledb.12.0' provider is not registered on the local machine
- C#导入excel时报错:The 'Microsoft.Ace.OleDb.12.0' provider is not registered on the local machine
- The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local Machine 完美解决
- 关于 The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. 异常处理
- The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
- 关于异常“The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine”的处理
- 关于异常“The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine”的处理
- Oops, 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine error
- Excel导入数据库错误:The 'Microsoft.ACE.OLEDB.14.0' provider is not registered on the local machine
- Solution: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
- Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine erro