SQLServer2005 Express问题:由于启动用户实例的进程时出错,导致无法生成 SQL Server 的用户实例。该连接将关闭。

启动用户实例的进程时出错(Sql Server Exoress)

我相信很多人在使用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

由于启动用户实例的进程时出错,导致无法生成 SQL Server 的用户实例。该连接将关闭。

解决方法: 删除目录C:\Users\Administrator\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS

Powered by ScribeFire.

原文地址:https://www.cnblogs.com/flaaash/p/984101.html