System.Data.SqlClient.SqlException: 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.
System.Data.SqlClient.SqlException:无法生成SQL Server的用户实例
有人曾经得到这个错误和/或有它的原因和/或解决方案的任何想法?
This link may have relevant information.
更新
连接字符串=.\SQLEXPRESS;AttachDbFilename=C:\temp\HelloWorldTest.mdf;Integrated Security=True
建议的User Instance=false
工作。
大这个解决矿太多,但对于Windows路径7是更好地在这里解释:http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/219f42cf-5c99-4a72-9acb-249210c835e2 – Vlax 2013-04-30 09:43:27
嗨,非常感谢。这也解决了我的错误。 :) – ayc 2015-06-24 08:28:13