为什么在SQL2005中,执行
exec sp_configure 'user instances enabled', 1
reconfigure
的结果是
配置选项 'user instances enabled' 不存在,也可能是高级选项。

解决方案 »

  1.   

     exec sp_configure
    看看有没有 反正我的是没有
      

  2.   

    没有
    能加上吗
    因为我的一个C#代码运行和资料的不一样,对比之后我觉得差异只有我的连接字符串没有设置user instance = true了
    所以我必须让SQL SERVER支持user instance..我在百度搜user instances enabled
    大把的帖子说在SQL2005执行 exec sp_configure 'user instances enabled', 1
    来解决一个什么问题
    看起来这个命令应该能在SQL2005执行的啊
      

  3.   

    user instances enabled(A,仅 SQL Server 2005 Express Edition 中提供)
    http://msdn.microsoft.com/zh-cn/library/ms189631%28v=SQL.90%29.aspx