SQL Network Interfaces, error:50-a Local Database Runtime error has occurred. Cannot create an automatic instance.

Source: Internet
Author: User

Today in the VS2013 with the LocalDB to adjust the database error, on the internet also found many scenarios, such as uninstalling SQL Server LocalDB program, re-create the instance, etc. did not solve my problem, also re-modify and repair VS, the problem persists, After careful study, we found a solution:

1. First issue (note: I here is localdb V11.0 cannot use):

Microsoft Visual Studio--------------------------- - a Local Database Runtime error has occurred. Cannot create an automatic instance. For more information about errors, see the Windows application event log. )--------------------------- determine    ---------------------------

2. Solution:

A. View Loacldb version
  SQLLOCALDB Delete v11.0
If the display is 12.00 you need to create a v12.0 instance
B. Delete the original v11.0 instance from the command prompt
sqllocaldb Delete v11.0
  C. Creating a new instance
SQLLOCALDB Create v11.0
  use sqllocaldb Create v12.0 If the computer does not support this version or cannot be used for this automatic instance.
The reason is that the LocalDB version is high, and the instance must change.
D. Another way is to re-install the localdb.
X64:http://download.microsoft.com/download/8/d/d/8dd7bdba-cef7-4d8e-8c16-d9f69527f909/enu/x64/sqllocaldb.msi
X32:http://download.microsoft.com/download/8/d/d/8dd7bdba-cef7-4d8e-8c16-d9f69527f909/enu/x86/sqllocaldb.msi

SQL Network Interfaces, error:50-a Local Database Runtime error has occurred. Cannot create an automatic instance.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.