未打开Ad Hoc Distributed Queries
来源:互联网 发布:cda数据分析师有用吗 编辑:程序博客网 时间:2024/06/05 20:40
SSAS访问ORACLE数据仓库读取数据创建CUBE的时候报如下错误:
SQL Server 阻止了对组件 'Ad Hoc Distributed Queries' 的 STATEMENT 'OpenRowset/OpenDatasource' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_configure 启用 'Ad Hoc Distributed Queries'。有关启用 'Ad Hoc Distributed Queries' 的详细信息,请参阅 SQL Server 联机丛书中的 "外围应用配置器"。
查询网上资料显示是因为没有开启SQL SERVER的高级功能导致的
一、执行如下的SQL即可开启该功能:
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
使用完毕后,记得一定要要关闭它,因为这是一个安全隐患,切记执行下面的SQL语句
exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure
reconfigure
exec sp_configure 'show advanced options',0
reconfigure
二、在SQL SERVER的"外围应用配置器"可以手动开启这个功能
右键数据库服务器->选择[方面]->并在弹出界面下拉列表中选择[外围配置器]->将[AdHocRemoteQueriesEnabled]设置为True
来自为知笔记(Wiz)
0 0
- 未打开Ad Hoc Distributed Queries
- Ad Hoc Distributed Queries未启动 解决方法
- Ad Hoc Distributed Queries
- Ad Hoc Distributed Queries
- Enable Ad Hoc Distributed Queries
- 启用 'Ad Hoc Distributed Queries'
- 启用 'Ad Hoc Distributed Queries'
- 启用Ad Hoc Distributed Queries的方法
- 启用 Ad Hoc Distributed Queries 的方法
- 使用 sp_configure 启用 'Ad Hoc Distributed Queries'
- 使用 sp_configure 启用 'Ad Hoc Distributed Queries'
- 启用MSSQL 'Ad Hoc Distributed Queries'
- 使用sp_configure启用 'Ad Hoc Distributed Queries'
- SQL启用 'Ad Hoc Distributed Queries'
- 启用Ad Hoc Distributed Queries的方法
- 使用sp_configure启用 'Ad Hoc Distributed Queries'
- 【sqlserver】【问题解决】Ad Hoc Distributed Queries
- 启动Ad Hoc Distributed Queries进行启用OPENROWSET
- Analyzer普通用户登录不了[从网络访问此计算机]
- SQL SERVER查询Job每个步骤执行结果情况
- SSIS最佳实践(优化二)[转]
- C++ RTTI 实现
- Analyzer-安全性异常(应用程序视图执行安装策略不允许的操作)
- 未打开Ad Hoc Distributed Queries
- 在饼图上显示百分比值(报表生成器和 SSRS)
- SQL SERVER NULL值和连接注意问题
- NonEmpty和Non Empty的区别
- SQL SERVER 函数大全[转]
- Ubuntu 14.04 字体设置
- SQL Server XML Path[转]
- 打开Excel时提示"您尝试打开的文件**.xls的格式与文件扩展名指定的格式不一致"
- Word2010 清除样式