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

如果在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)。
posted @ 2007-04-27 15:34  Think  阅读(2632)  评论(2编辑  收藏  举报