`

如果使用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)。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics