ArticleDirectory
- Windows cannot start SQL server on a local computer error code 126
Windows cannot start SQL server on the local computer. Code126
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 then restart the service. The service can be started normally.
.