Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix the error:1069 - The service did not start due to logon failure?

Tags:

I have written my own windows service which interacts with a SQL database and updates it. The service was running fine and seems to be functioning correctly, however of late it seems to go down at random times and cannot restart due to the error designated in the question. I have tried various searches to fix this, but unfortunately I have come up with nothing. The aim is to eventually having this service running on my companies server, but I can't adjust any server settings, I am but a user on the server, so I have restrictions to some settings.

Any quick fixes, would be helpful!

like image 216
gn12345 Avatar asked Sep 02 '14 08:09

gn12345


People also ask

What is error 1069?

The issue usually occurs if you: provided a wrong account password when configuring your service, or. changed the password of the account used by the service, and have not updated this information in the service.

Could not Start service error code 1069?

This problem occurs because the password for the SQL Server startup service account or the SQL Server Agent startup service account is not correct. This problem can occur when the password for the account is changed but the password information was not updated for the SQL Server service or the SQL Server Agent service.

How do I fix logon failure?

To resolve this issue, edit the Access this computer from the network local policy on the desktop to restore the "Users" access group or add one or more user and group values to provide the required access. Alternatively this can be configured using Group Policy.


1 Answers

  1. Open the Services Manager. In case you dont know, do this by pressing Win + R, then type services.msc
  2. Then right click on the SQL Server process and click Properties

enter image description here

  1. Then go to Log On, and select This account: enter image description here

  2. Then click Browse, and add your username in the box. (Notice it should contain the domain, in my case is AD\myusername), the Check Names and accept. enter image description here

  3. Finally type your password in the other two fields, and that's it, you should have permission to start your process now.

Cheers!!

like image 199
Roberto Rodriguez Avatar answered Sep 23 '22 23:09

Roberto Rodriguez