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