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.
请问怎么解决这个问题呢

解决方案 »

  1.   

    asp.net连接Sql Server2008 Express,出现这个问题:“由于启动用户实例的进程时出错,导致无法生成 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.”
    微软的bug
    解决方法:
    在WindowsXP下:
     删除目录C:\Users\Administrator\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS
     
    在Windows2003下:
     删除目录C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS
     
    在Windows7下:
     删除目录 C:\Users\Classic .NET AppPool\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS
      

  2.   

    http://blog.csdn.net/cheny_com/archive/2011/05/01/6381435.aspxPS:SQL版真热闹,一进门花花绿绿的 ....