Solved

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

Posted on 2007-04-09
5
649 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
T-SQL 10 35
AD permissions required to allow computer objects and service accounts to register SPNs 1 29
AD and SQL Server 2016 2 29
sql server query 18 42
I have a large data set and a SSIS package. How can I load this file in multi threading?
Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

828 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