由于64位系统已经不支持 oledb 4.0访问 xls

1. 未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序

http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe下载。

2.SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Ad Hoc Distributed Queries' by using sp_configure. For more information about enabling 'Ad Hoc Distributed Queries', see "Surface Area Configuration" in SQL Server Books Online.

--打开 hoc distributed

exec sp_configure 'show advanced options',1 
reconfigure 
exec sp_configure 'Ad Hoc Distributed Queries',1 
reconfigure

--关闭 ad hc distributed

exec sp_configure 'Ad Hoc Distributed Queries',0 
reconfigure 
exec sp_configure 'show advanced options',0 
reconfigure

最新文章

  1. java中产生对象的两种方式
  2. 在 VirtualBox 中 CentOS 网络设置
  3. OC面向对象封装
  4. 4K Block Size的Device和 Aligned IO
  5. spring IOC容器实例化Bean的方式与RequestContextListener应用
  6. [039] 微信公众帐号开发教程第15篇-自定义菜单的view类型(访问网页)
  7. [Redux] Store Methods: getState(), dispatch(), and subscribe()
  8. 秒味课堂Angular js笔记------过滤器
  9. EffectiveC#7--选择恒定的原子值类型数据
  10. IOS简单画板实现
  11. Python统计列表中的重复项出现的次数的方法
  12. KVM之七:KVM克隆
  13. JSP页面分页显示数据
  14. 各种形式的熵函数,KL距离
  15. 【Eclipse】eclipse自动提示+自动补全
  16. luogu1525 [NOIp2011]关押罪犯 (并查集)
  17. Mysql 区分大小写进行查询
  18. c++基本
  19. POJ 2516 Minimum Cost(最小费用流)
  20. Sandbox简介和路径获取

热门文章

  1. 实现一个简单的Plugin
  2. Django-Web框架之创建项目和应用
  3. vmware10中arch使用遇到的一些问题
  4. LibreOJ 6004 圆桌聚餐 (最大流)
  5. LibreOJ 6000 搭配飞行员(最大流)
  6. 以太坊系列之十三: evm指令集
  7. 通用唯一识别码——UUID(Python)
  8. newman的常用命令使用总结
  9. 03process对象的其他方法属性
  10. weblogic启动一闪而过