1

I am running Visual Studio 2010 and SQL Server Express 2012. When trying to click on an .mdf file I get:

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.

My connection string is

Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\Movies.mdf;Integrated Security=True;User Instance=False

Any help would be appreciated!

2
  • Is the MDF already in use by another instance? Commented Oct 25, 2016 at 13:37
  • 1
    Possible duplicate and solution, hopefully. stackoverflow.com/questions/281500/… Commented Oct 25, 2016 at 14:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.