Windows cannot start SQL Server on a local computer

Source: Internet
Author: User
Tags error code microsoft sql server mssql

When using SQL2005 (or 2008), you may encounter the following error message:

"Windows cannot start SQL Server on a local computer.

For more information, see System event logs. If this is a non-Microsoft service, contact the service provider and refer to the error code 126 of the specific service"

 
Solution:

In the "Configuration tool" of 2005 (2008), there is a "SQL Server Configuration Manager" --> SQLserver 2005 (2008) network Configuration,

Both MSSOLSERVER and SQLEXPRESS have the VIA attribute. If your service cannot be started, disable the VIA setting.

Then restart the service.

I tried and failed to start the service in 2008,

Check that both MSSOLSERVER and SQLEXPRESS have a VIA attribute. Set VIA to disabled and restart the service. Then, the service can be started normally.


If the above method does not work, we can try (the SQL SERVER (MSSQLSERVER) error code 3417 cannot be started on the local computer)

The solution is as follows:
C:/Program Files/Microsoft SQL Server/MSSQL.1/MSSQL/Data all mdf and ldf are saved by decompression by default, you only need to right-click each file-properties-advanced-compress the content to save disk space.

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.