SQL Server 1069: the service cannot be started due to logon failure.

Source: Internet
Author: User
Tags mssqlserver

 

When Microsoft SQL Server or SQL Server Agent is restarted, the Service may fail to be started and the following error message is displayed:

Error 1069: the service cannot be started due to logon failure.

Cause

This problem occurs because the password of the SQL Server or SQL Server Agent service account is incorrect. This problem occurs if the account password is changed but the password information of SQL Server or SQL Server Agent is not updated.

Alternative Method

To solve this problem, enter the correct password in the Microsoft SQL Server Service Account of the SQL server host.

To correct this password on Microsoft Windows 2000 Server and Microsoft Windows XP, follow these steps:

1.

Click Start, point to settings, and then click Control Panel.

2.

Double-click the management tool and double-click the service.

3.

Perform one of the following steps based on your instance type:

For default instances of SQL Server, double-click "MSSQLServer" and click the "Log on" tab.

For SQL server named instances, double-click "MSSQL $YourinstancenameAnd then click the logon tab. SetYourinstancenameReplace it with the actual name of the SQL server instance.

For default instances of SQL Server Agent, double-click "SQLAgent" and click the "Logon" tab.

For a named instance of SQL Server Agent, double-click "SQLAgent $YourinstancenameAnd then click the logon tab. SetYourinstancenameReplace it with the actual name of the SQL server instance.

4.

In the password and Confirm Password text box, type the correct password and click OK.

To correct the password in Microsoft Windows NT 4.0, follow these steps:

1.

Click Start, point to settings, and then click Control Panel.

2.

Perform one of the following steps based on your instance type:

For default instances of SQL Server, double-click "MSSQLServer" and click the "Log on" tab.

For SQL server named instances, double-click "MSSQL $YourinstancenameAnd then click the logon tab. SetYourinstancenameReplace it with the actual name of the SQL server instance.

For default instances of SQL Server Agent, double-click "SQLAgent" and click the "Logon" tab.

For a named instance of SQL Server Agent, double-click "SQLAgent $YourinstancenameAnd then click the logon tab. SetYourinstancenameReplace it with the actual name of the SQL server instance.

3.

In the password and Confirm Password text box, type the correct password and click OK.

Note: You can use the Services applet to change the password so that SQL Server can be restarted successfully. However, if Microsoft Search (full-text search service) is installed, SQL Enterprise Manager (SEM) is required) make subsequent password changes.

Note: If you are using SQL Server 2005, see the "Change Password and User Account" topic in SQL Server 2005 books online.

The following sections are taken from SQL Server 2000 books online:

"After changing the SQL Server service account information in Control Panel, you must also change the SQL Server service account in SQL Server Enterprise Manager. this allows the service account information for Microsoft Search Service to remain synchronized as well.

Important: although the Microsoft search service is always assigned to the local system account, the full-text search engine tracks the SQL Server service account in windows. full-text search and Failover clustering are not available if Windows Password changes are not Reset using SQL Server Enterprise Manager. "(after changing the SQL Server service account information in the control panel, you must also change the SQL Server service account in SQL Server Enterprise Manager. In this way, the service account information for the Microsoft Search Service will be synchronized. Important: Although Microsoft search is always assigned to a local system account, full-text search engines track SQL Server service accounts in windows. If you do not use SQL Server Enterprise Manager to reset Windows Password changes, you cannot use full-text search and Failover clusters .)

By using SEM, right-click the server, click Properties, and then click the Security tab. Enter the corresponding account and password under the startup service account.

 

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.