SQL LocalDb Automatic Instance Startup Failure when called from Visual Studio 2013, but not SQL Server Management Studio

后端 未结 3 816
谎友^
谎友^ 2020-12-30 07:13

Per MSDN Docs: http://msdn.microsoft.com/en-us/library/hh510202.aspx

LocalDB supports two kinds of instances: Automatic instances and Named instances.

3条回答
  •  心在旅途
    2020-12-30 08:08

    I had the same issue. I resolved it by deleting and recreating the instance from command line:

    1. Open the command line
    2. Delete the session by typing: sqllocaldb delete "v11.0"
    3. Recreate the instance with: sqllocaldb create "v11.0"

    The new instance allows auto creation, and solves the issue.

    The solution was taken from: http://answers.flyppdevportal.com/categories/sqlserver/sqlexpress.aspx?ID=8bcb5f1e-0240-4df3-8a5e-7e3e73e1c45b

提交回复
热议问题