|
|
Question : Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance
|
|
hi, I am getting this problem now: "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance " i've been to many posts but nothing has helped me so far, I've done the following: 1-Deleted the SQLExpress folder under the localsetting to clear it 2-Set User Instance to False/True 3-Change the SQLExpress to run under a local account (Administrator) nothing has help me, and i am wasting too much time on it. It works (Ofcourse on my dev machine). both dev and target machine are XP SP2. I am using Visual Studio 2008 Pro - C# Windows application so no IIS or ASP.NET issue.
has ANYONE solved this annoying problem? thanks again
|
Answer : Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance
|
|
Well, from what I have looked at, you are trying to connect to express the correct way. However, it may be worth a shot to try to connect differently. Give this a shot for your connection string instead:
Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
By the way, I got that connection string from: http://www.connectionstrings.com/
|
|
|
|
|