解决SQL Server 阻止了对组件Ad Hoc Distributed Queries访问的方法
SQL Server的Ad Hoc Distributed Queries组件被禁用,这里我用的SQL Server版本是2008,只需要开启Ad Hoc Distributed Queries就可以了,方法如下:
1.开启Ad Hoc Distributed Queries组件,在sql查询编辑器中执行如下语句:
exec sp_configure 'show advanced options',1
reconfigureexec sp_configure 'Ad Hoc Distributed Queries',1reconfigure
浙公网安备 33010602011771号