我正在阅读一个Excel文件,并希望访问其内容。我正在使用这个连接字符串:
connectionString = string.Format("Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0}; Extended Properties=Excel 12.0;", Server.MapPath(fileName));
但是我看到了这个错误:
'Microsoft.ACE.OLEDB.12.0' 提供程序未在本地计算机注册。
我的服务器正在运行64位操作系统。 我已经安装了Microsoft Office Professional Plus 2010 (32位) 和 Microsoft Access 数据库引擎 2010。
问题出在哪里?