如果是安装的office2010就要装这个,如果是2007就不用装! http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe 失败,原因:6-销售指标.dtsx包文件执行出错,请检查错误信息! SSIS 错误代码 DTS_E_OLEDB_NOPROVIDER_ERROR.所请求的 OLE DB 访问接口 Microsoft.ACE.OL
问题描述: 修改一个工具功能为读取excel文件中的数据(xls) 本机(windows server 2003 32位) 调试运行正常,部署到服务器(windows server 2003 64位) 提示错误:The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine 处理结果: 考虑到服务器没有安装office初步判断是缺少驱动程序之类的了. 上网搜索了一堆解决方案. 最终在服务器上安装了64位
using System; using System.Data; using System.Data.OleDb; using System.IO; using System.Linq; using System.Text; namespace DaliyTest { public class ExcelToDataTable : IWork { public void Work() { var path = AppDomain.CurrentDomain.BaseDirectory + "读取