SQL2005跨服务器查询时,语句如下:
select * from [服务器名].DataBase.dbo.Table执行查询时,报以下错误:消息 7432,级别 16,状态 0,第 1 行
在纤程模式下不支持异类查询和 OLEDB 访问接口的使用。
请问是什么原因?如何解决???sql2005跨服务器查询纤程模式异类查询OLEDB 访问

解决方案 »

  1.   

    右键你的实例名→属性→【处理器】→看看【使用Windows纤程】那个你有没有勾上,有的话取消掉
      

  2.   

    sp_configure 'show advanced options', 1;
    GO
    RECONFIGURE;
    GO
    sp_configure 'lightweight pooling', 1;
    GO
    RECONFIGURE;
    GO
      

  3.   

    说的没错要重启SQL SERVER
    The lightweight pooling option is an advanced option. If you are using the sp_configure system stored procedure to change the setting, you can change lightweight pooling only when show advanced options is set to 1. The setting takes effect after the server is restarted. 
    http://msdn.microsoft.com/zh-cn/library/ms178074.aspx