当前位置:Gxlcms >
数据库问题 >
SQL Server 阻止了对组件 'Ad Hoc Distributed Queries' 的 STATEMENT'OpenRowset/OpenDatasource' 的访问的解决方案
SQL Server 阻止了对组件 'Ad Hoc Distributed Queries' 的 STATEMENT'OpenRowset/OpenDatasource' 的访问的解决方案
时间:2021-07-01 10:21:17
帮助过:3人阅读
exec sp_configure
‘show advanced options‘,
1
2 reconfigure
3 exec sp_configure
‘Ad Hoc Distributed Queries‘,
1
4 reconfigure
启用 ‘Ad Hoc Distributed Queries‘
2、关闭 ‘Ad Hoc Distributed Queries‘:

1 exec sp_configure ‘Ad Hoc Distributed Queries‘,0
2 reconfigure
3 exec sp_configure ‘show advanced options‘,0
4 reconfigure
关闭 ‘Ad Hoc Distributed Queries‘:
SQL Server 阻止了对组件 'Ad Hoc Distributed Queries' 的 STATEMENT'OpenRowset/OpenDatasource' 的访问的解决方案
标签: