Solved

SQL Server DTS package will not allow for scheduling since SQLServerAgent is stopped - how to turn on?

Posted on 2007-04-09
5
648 Views
Last Modified: 2013-11-30
I'm trying to schedule several DTS packages by right-clicking over DTS and selecting Schedule Package - when I do so I get the following warning:  The SQLServerAgent on target server LOCAL is stopped.  Make sure it is running during the scheduled execution of this package.  How do I make sure that the SQLServerAgent is started and running - including if the machine is restarte?
0
Comment
Question by:stephenlecomptejr
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:rboyd56
ID: 18876885
In Control Panel -Administrative Tools - SQLServerAgent

Set its startup to Automatic.

You can check and see if it is tarted there as well.

Or look in Enterprise Manager to see if the green arrow next to SQL Server Agent under Management in the SQL Server tree is bright green.
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 18877043
And if I don't see SQLServerAgent - in under Administrative Tools?
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 18877072
I see it under Services (under Administrative Tools) but when I try to start it - it says:

Could not start the SQLSERVERAGENT service on Local Computer.
The service did not return an error.  This could be an Internal windows error or an internal service error.
If the problem persists, contact your system administrator.
0
 
LVL 16

Accepted Solution

by:
rboyd56 earned 500 total points
ID: 18877640
In Enterprise Manager - under Management
Right click SQL Server Agent and Choose display error log. See if there is anything there that tells you why it did not start

If that does not tell you anything. Go to a command prompt and navigate to the folder where SQLagent.exe is.
This is usually \program files\microsoft SQL Server\mssql\binn
You may have to seach the computer for the file.

Run this command:

sqlagent -c -v

This may tell you why it did not start.
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 18878135
Thank you greatly - the log explained why - the user was not added to the list.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DTS Connection Failed 7 70
This query failed in sql 2014 5 31
T-SQL: "HAVING CASE" Clause 1 25
replace \ by - in select 4 21
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question