Solved

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

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to 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
Split one comma delimited string in a column into 7 (SQL server 2008) 13 65
TSQL previous 5 25
TSQL - IF ELSE? 3 29
Update data using formula 22 22
You have seen this as an option on your internet browser before or it may be completely new to you.  But what does this mean and why would I use this?
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.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

867 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now