var competitive=new {technique,business}

2007/4/22

启动用户实例的进程时出错[zz]

原文:http://483sr2kpr3b9.spaces.live.com/PersonalSpace.aspx?_c02_owner=1

我 相信很多人在使用ASP.NET 2.0 + SQL2005 + aspnetdb(MemberShip等功能)时出现这个问题:“由于启动用户实例的进程时出错,导致无法生成 SQL Server 的用户实例。该连接将关闭。”,其英文版本的相同问题的错误信息是:“Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.”
我花了将近3天的时间,终于找到了答案!原来这是微软的bug,并且微软已经承认,详情如下:http://support.microsoft.com/?id=896613
出现此错误的条件是:你用过远程桌面连接,并且安装了SQL2005+VS2005,就有很大可能触发这个问题,微软说会在将来的XP SP3里面解决掉这个问题,要想立即解决这个问题,需要交费…… - -6
不用理会SB M$,咱们自有土办法来解决,请看如下文章:http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=128707&SiteID=1
如 果你看不懂英文,那么我告诉你我的解决办法:删除C:Documents and Settings[USERNAME]Local SettingsApplication DataMicrosoftMicrosoft SQL Server DataSQLEXPRESS目录即可,[USERNAME]是Windows用户名,比如说Administrator
综上所述,为了防止大家像我一样郁闷,特将我的经验公开,谢谢捧场~

0 评论: