Database problem-Unable to establish connection to SQL Server

Source: Internet
Author: User
Tags microsoft sql server

The following error occurred while opening the VS Launcher program.

This inference is a problem with the connection to the database. Determined that the code is written, and SQL Server 2012 is open, but not connected to the server, there is the same problem as in VS (it is important to note that we usually run the program to connect with the database is not open SQL Server).

Think back to learn the database before the time encountered such problems, happened to Hanlin in the side, to solve. But did not summarize in time. Cause now to encounter such a problem can not find the north. This problem occurs because some of the services in SQL Server are turned off and open is OK. take My Computer win8 as an example, the specific steps are as follows.

Open All Programs--microsoft SQL Server 2012--Configuration tool--sql Server Configuration Manager (or press Windows key to locate the SQL Server Configuration Management box and open it directly).

Select SQL Server server, you can see that there is a part of the service is "stopped" status, right-click on the start, the completion will be able to successfully connect to the server.

Database problem-Unable to establish connection to SQL Server

Related Article

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.