[求助]opendatasource问题
局域网内一台名为appserver的机子,在它上有数据库aatest,在查询分析器里为什么执行不了
select * from opendatasource('sqloledb','server=appserver;user id=sa;password=').aatest.dbo.words
错误为:
Msg 15281, Level 16, State 1, Line 1
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.
[此贴子已经被作者于2006-4-26 11:44:38编辑过]