SQL Server Agent (SQLEXPRESS) automatically stop

4.8k views Asked by At

I'm encountering a problem on Microsoft SQL Server. SQL Server Agent is not running, when I tried to start it and refresh the services.msc the SQL Server Agent is not running anymore. When I see the logs on event viewer. There are no errors but a message "SQLServerAgent service successfully stopped"

Here is the log.

SQLServerAgent service successfully started

SQLServerAgent service successfully stopped.
1

There are 1 answers

1
STLDev On

SQLEXPRESS does not include the SQL Server Agent aspect of the product.

You need to have SQL Server Standard Edition (or greater) to get the SQL Server Agent functionality.

That said, there may be other ways to achieve the results you desire. You could build a simple .NET app or PowerShell script to execute your query or stored procedure, and schedule that to execute via Windows own task scheduler. It is in many ways not as robust as SQL Server Agent, but it is also not as restrictive (you're running under a Windows process as opposed to SQL Server, so you have more options as to how the application may work).