SQL Server Error 22022: SQL Server Agent is not currently running so it cannot be notified of this action.
Got stuck with this error when running a SQL server agent?
Basically, SQL server error 22022 occurs due to the SQL Agent cannot connect to the SQL Server database engine.
At Bobcares, we often get requests to fix SQL errors, as a part of our Server Management Services.
Today, let’s see how our Support Engineers fix the SQL server error 22022 for our customers.
Causes for the SQL Server Error 22022
Mainly 2 processes are required for the SQL Server to run properly. The two processes are the SQL server(MSSQLSERVER) and SQL Server Agent. This error occurs when the SQL Server Agent is not running.
The sample error message will look like.
How we fix SQL Server Error 22022?
Recently, one of our customers contacted us with the SQL Server Error 22022. The SQL server agent service was not running. Now let’s see how our Support Engineers fix this error for our customers by starting the service.
1. Make sure that the SQL Server Agent service running.
To resolve this error for our customers, we first check the SQL server agent service state and then start the service.
To do this, we follow these steps:
- We click on >> Start >> click >>Run, then we type>> Services.msc, and then click >> OK.
- Then in the Services window, we locate the SQL Server Agent service.
- After this, we make sure that the value of the Status column of the SQL Server Agent service.
- The SQL Server Agent was not running.
- Then we Right-click SQL Server Agent, we click the Start button. Finally, click Yes.
2. Make sure the SQL agent property as automatic.
If the SQL agent property already set as manual mode, if there is any chance to stop the service after a reboot.
So we make sure that the SQL service agent Start Mode is set as automatic.
To avoid such situations, our Support Engineers change the “Start Mode” of the service, to automatic by going to the properties of the service.
Sometimes we get this error even if the SQL Server Agent is running. In those cases, we check SQLAgent.out file to check if it’s started completely.
[Still having trouble in fixing SQL server errors? We’ll fix it for you.]
Conclusion
In short, the SQL server error 22022 occurs due to the SQL Agent cannot connect to the SQL Server database engine. Today, we saw how our Support Engineers sort out the SQL server error.
0 Comments