如果使用SQLExpress 2005时要求'sp_configure 'User instances enabled''

来源:互联网 发布:support v4 源码下载 编辑:程序博客网 时间:2024/05/22 17:50
如果在ASP.NET使用SqlExpress 2005时出现要求执行sp_configure 'user instances enabled',可以执行已下SQL语句解决
exec sp_configure 'user instances enabled',1
reconfigure

或者,把所有连接字符串中的user instace=true;去掉,包括%systemroot%microstoft.net/[version]/framework/config/下的几个Config文件中的连接字符串(因为Membership/Profile等都是默认使用了user instance)。
原创粉丝点击