dbTalk Databases Forums  

DTS fails when run via the SQL Server Agent

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS fails when run via the SQL Server Agent in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Julie
 
Posts: n/a

Default DTS fails when run via the SQL Server Agent - 08-19-2003 , 03:53 PM






I have a bunch of DTS packages, they run fine when I run
them manually but when I run them scheduled via the SQL
Server Agent they fail. The errors I am getting say they
can't find the source file. I'm sure this is a permissions
problem - but being new with DTS and not having any
knowledge of the network I am working on, I'm at a loss to
figure out how to fix this. I am using SQL Server 2000.
The job owner is a SQL login - ie "sa" or "myLoginName". I
am starting the SQL Server Agent with the "system"
account. Any help would be appreciated! Thanks

Reply With Quote
  #2  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: DTS fails when run via the SQL Server Agent - 08-19-2003 , 06:25 PM






If you are using the local system account for SQL Agent then
the jobs don't have access to any network resources. You
would need to use a domain account with appropriate
permissions for the SQL Server Agent service startup
account.

-Sue

On Tue, 19 Aug 2003 13:53:40 -0700, "Julie"
<julie.rodgers (AT) mapinfo (DOT) com> wrote:

Quote:
I have a bunch of DTS packages, they run fine when I run
them manually but when I run them scheduled via the SQL
Server Agent they fail. The errors I am getting say they
can't find the source file. I'm sure this is a permissions
problem - but being new with DTS and not having any
knowledge of the network I am working on, I'm at a loss to
figure out how to fix this. I am using SQL Server 2000.
The job owner is a SQL login - ie "sa" or "myLoginName". I
am starting the SQL Server Agent with the "system"
account. Any help would be appreciated! Thanks


Reply With Quote
  #3  
Old   
Denny
 
Posts: n/a

Default Re: DTS fails when run via the SQL Server Agent - 08-19-2003 , 06:27 PM



If you are attempting to import data from a file on another machine, or
connect to another machine you will need to run the service under a domain
account, and that account will need to be granted access to the needed
files.

--
Denny Cherry
DBA
GameSpy Industries
"Julie" <julie.rodgers (AT) mapinfo (DOT) com> wrote

Quote:
I have a bunch of DTS packages, they run fine when I run
them manually but when I run them scheduled via the SQL
Server Agent they fail. The errors I am getting say they
can't find the source file. I'm sure this is a permissions
problem - but being new with DTS and not having any
knowledge of the network I am working on, I'm at a loss to
figure out how to fix this. I am using SQL Server 2000.
The job owner is a SQL login - ie "sa" or "myLoginName". I
am starting the SQL Server Agent with the "system"
account. Any help would be appreciated! Thanks



Reply With Quote
  #4  
Old   
Julie
 
Posts: n/a

Default Thanks Everyone - DTS fails when run via the SQL Server Agent - 08-20-2003 , 09:36 AM



I will try your suggestions!


Quote:
-----Original Message-----
I have a bunch of DTS packages, they run fine when I run
them manually but when I run them scheduled via the SQL
Server Agent they fail. The errors I am getting say they
can't find the source file. I'm sure this is a
permissions
problem - but being new with DTS and not having any
knowledge of the network I am working on, I'm at a loss
to
figure out how to fix this. I am using SQL Server 2000.
The job owner is a SQL login - ie "sa" or "myLoginName".
I
am starting the SQL Server Agent with the "system"
account. Any help would be appreciated! Thanks
.


Reply With Quote
  #5  
Old   
William Wang[MSFT]
 
Posts: n/a

Default RE: Thanks Everyone - DTS fails when run via the SQL Server Agent - 08-20-2003 , 09:56 PM



Hi Julie,

Please feel free to let us know if you solve this issue or if you need
further assistance.

Sincerely,

William Wang
Microsoft Partner Online Support

Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
================================================== ===

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Quote:
Content-Class: urn:content-classes:message
From: "Julie" <julie.rodgers (AT) mapinfo (DOT) com
Sender: "Julie" <julie.rodgers (AT) mapinfo (DOT) com
References: <02e501c36693$f8086030$a601280a (AT) phx (DOT) gbl
Subject: Thanks Everyone - DTS fails when run via the SQL Server Agent
Date: Wed, 20 Aug 2003 07:36:31 -0700
Lines: 19
Message-ID: <006101c36728$725d5d60$a101280a (AT) phx (DOT) gbl
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNnKHJd/mxLxaD8RVuThSmLrFm/nw==
Newsgroups: microsoft.public.sqlserver.dts
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.dts:37575
NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.public.sqlserver.dts

I will try your suggestions!


-----Original Message-----
I have a bunch of DTS packages, they run fine when I run
them manually but when I run them scheduled via the SQL
Server Agent they fail. The errors I am getting say they
can't find the source file. I'm sure this is a
permissions
problem - but being new with DTS and not having any
knowledge of the network I am working on, I'm at a loss
to
figure out how to fix this. I am using SQL Server 2000.
The job owner is a SQL login - ie "sa" or "myLoginName".
I
am starting the SQL Server Agent with the "system"
account. Any help would be appreciated! Thanks
.




Reply With Quote
  #6  
Old   
Problem solved on one server - Thanks for the help
 
Posts: n/a

Default DTS fails when run via the SQL Server Agent - 08-22-2003 , 09:32 AM



Everyone's suggestions helped me solve my problem on one
server. Basically, I made sure the same user was starting
SQL Server and the SQL Agent. The user was a network user
with access to all the servers required (as well as being
a SQL Server user).

I still have a problem accessing an Access database. I now
believe it is a different problem, so will post another
question.

Again- Thanks Everyone for thier help!

Quote:
-----Original Message-----
I have a bunch of DTS packages, they run fine when I run
them manually but when I run them scheduled via the SQL
Server Agent they fail. The errors I am getting say they
can't find the source file. I'm sure this is a
permissions
problem - but being new with DTS and not having any
knowledge of the network I am working on, I'm at a loss
to
figure out how to fix this. I am using SQL Server 2000.
The job owner is a SQL login - ie "sa" or "myLoginName".
I
am starting the SQL Server Agent with the "system"
account. Any help would be appreciated! Thanks
.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.