从Visual Studio 2013而非SQL Server Management Studio调用时SQL LocalDb自动实例启动失败 [英] SQL LocalDb Automatic Instance Startup Failure when called from Visual Studio 2013, but not SQL Server Management Studio

查看:266
本文介绍了从Visual Studio 2013而非SQL Server Management Studio调用时SQL LocalDb自动实例启动失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每个MSDN文档: http://msdn.microsoft.com/zh-我们/library/hh510202.aspx

LocalDB支持两种实例:自动实例和命名实例.

我怀疑这与我的问题有关,所以我想知道是否有人知道如何自动创建这样的东西.如果我能引用这些文档,则用户计算机上安装的每个版本的LocalDB都存在一个LocalDB的自动实例."

I suspect this has something to do with my problem, so I am wondering if anyone knows how something like this gets automatically created. If I can quote from the docs, "One automatic instance of LocalDB exists for every version of LocalDB installed on the user’s computer."

以下是上述链接中相关部分的副本:

Here is a copy of the relevant section in the above link:

Localp的

自动实例是公共的.它们是为用户自动创建和管理的,并且可以被任何应用程序使用. 每个版本的LocalDB都有一个自动的LocalDB实例 安装在用户计算机上.自动的LocalDB实例 提供无缝的实例管理.无需创建 实例;它只是工作.这样可以方便地安装应用程序 并迁移到另一台计算机.

Automatic instances of LocalDB are public. They are created and managed automatically for the user and can be used by any application. One automatic instance of LocalDB exists for every version of LocalDB installed on the user’s computer. Automatic instances of LocalDB provide seamless instance management. There is no need to create the instance; it just works. This allows for easy application installation and migration to a different computer.

不同版本的LocalDB将具有不同的实例命名约定:

Different versions of LocalDB will have different instance naming conventions:

SQL 2012 LocalDB = V11.0
SQL 2014 LocalDB = ProjectsV12

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆