When you try to import Excel 2007 or later “.xlsx” files into an SQL Server 2008 database you may get the following error mesage : The ‘Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine. (System.Data) To solve this problem ins…
导出数据时报错: 如果你是导出office 2007格式 TITLE: SQL Server Import and Export Wizard ------------------------------ The operation could not be completed. ------------------------------ ADDITIONAL INFORMATION: The 'Microsoft.ACE.OLEDB.12.0' provider is not registe…
问题描述: 修改一个工具功能为读取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位…
我们在利用SqlBlukcopy技术倒2010 或者2007格式的文件到SqlServer 数据库的时候,会发生如下错误: 原因如下: 1.在用SQL SERVER 2005访问.xlsx文件(office2007&2010文件格式)时,必须用provider 'Microsoft.ACE.OLEDB.12.0' 来实现.2.首先要安装AccessDatabaseEngine.exe.下载路径:http://www.microsoft.com/downloads/details.aspx?fam…
  在开发中用到Microsoft.ACE.OLEDB.12.0,但是,出现了Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine 之前都是用得好好的,还用了好多的时间去找信息,最后,我们只要在开发时选正确的发布平台就解决了,原因只是我们要布置到X64的服务器上,但是Microsoft.ACE.OLEDB.12.0还没有X64的版本.     http://www.microsoft.com/downl…
环境: Win7 64位 + VS2005 + Office2013 64位 现象:程序为一个Excel导入程序,导入时报「'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine error」的错误. 解决方法:下载并安装AccessDatabaseEngine.exe后该现象解决.…
导入Excel在本地环境没有问题,但部署到服务器上后出现异常. 经排查,是系统问题,因为本地是32位系统,而服务器上则是64位系统. 解决方法: 1.打开IIS管理器 2.右击应用程序所在的连接池 3.修改“启用32为应用程序”为true 感谢:http://www.cnblogs.com/dwfbenben/archive/2011/12/13/2286058.html…
错误描述:The Microsoft.ACE. Oledb.12.0 provider was not registered on the local computer 最近在Web项目中做一个自动生成Excel→下载→修改→上传→生成json格式文件的功能. 本地一切都顺利,在部署到IIS服务器后,运行发现挂了. 本人代码: #region 读取Excel中的数据 /// <summary>  /// 读取Excel中的数据 支持表头(.xlsx)   不支持表头(.xls)   /// &…
报错提示:"the microsoft.jet.oledb.4.0 provider is not registered on the local machine" 错误起因:winfrom项目在32位系统里面创建,由于创建解决方案 Platform默认设置为Any Cpu,所以在64位系统下打开解决方案的时候Platform设置默认为为Any Cpu,正常情况下应该在64位系统下,开启32cpu模式,即Active(*86). 注意事项:Platform属性修改后,各个类库协同都应修…
在一台Win7 64位的操纵系统上部署的C# Web系统,操作Excel,批量导入数据,报错,提示错误信息: The ‘Microsoft Jet OLEDB 4.0 Provider' is not registered on the local machine 网上查找原因和解决方案,微软只提供了在32位Win7上的驱动,而未提供64位Win7的驱动,解决办法: 启动IIS,设置应用系统所用的应用程序池,如下图: 选中该Application Pool,然后点右侧的Advanced Sett…