dbTalk Databases Forums  

DTS Logs and Scheduled Jobs

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


Discuss DTS Logs and Scheduled Jobs in the microsoft.public.sqlserver.dts forum.



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

Default DTS Logs and Scheduled Jobs - 06-21-2004 , 09:26 AM






I have a scheduled job which run two dts packages in succession. Both
packages are set up to log to sql server and do so if I run the package
from enterprise manager. If I run the packages from the job, the job logs
show that the package steps completed successfully, however there are no
step logs for the packages. Anyone know how to force the package to start
logging or why it's not currently?

We are using SQL2000 and VB6.

Dave Phelan
Pitman

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Logs and Scheduled Jobs - 06-21-2004 , 10:03 AM






Whilst i have not seen your problem make sure that your

SQL Server Agent service Account: if the job owner is a sysadmin, has rights
to the SQL Server for logging
Proxy Accout: if job is not owned by a sysadmin, has rights to log to the
SQL Server for logging.

If everything still appears OK then log in as either the Agent service
account or the proxy account and no try executing the package.

Have a read as well of this

http://support.microsoft.com/?kbid=269074

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"David Phelan" <dphelan (AT) nopitmanspam (DOT) com> wrote

Quote:
I have a scheduled job which run two dts packages in succession. Both
packages are set up to log to sql server and do so if I run the package
from enterprise manager. If I run the packages from the job, the job logs
show that the package steps completed successfully, however there are no
step logs for the packages. Anyone know how to force the package to start
logging or why it's not currently?

We are using SQL2000 and VB6.

Dave Phelan
Pitman



Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Logs and Scheduled Jobs - 06-21-2004 , 01:34 PM



Ok Let me have a hook.

I created a Package

1* DataPump task

In package properties i set it to log to my local server

I clear all previous invocations

I schedule the package

Package fires

It look in MSDB and a row has been added to sysdtssteplog.

What kind of steps do you have ?




--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"David Phelan" <dphelan (AT) nopitmanspam (DOT) com> wrote

Quote:
I checked through the security on the server. The job is owned by the
administrator and the administrator is set up as a sysadmin. I added the
administrator account to the MSDB owners list, gave exec permissions to
logging stored procs, and ran the job. I recreated the dtsrun command
lines
for the job to make sure it was applying the right user information.
Still, no log files were created. I can get the log files for the job
without problem, just not for the steps in the packages.

Dave


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in
news:eqgPxE6VEHA.2844 (AT) TK2MSFTNGP09 (DOT) phx.gbl:

Whilst i have not seen your problem make sure that your

SQL Server Agent service Account: if the job owner is a sysadmin, has
rights to the SQL Server for logging
Proxy Accout: if job is not owned by a sysadmin, has rights to log to
the SQL Server for logging.

If everything still appears OK then log in as either the Agent service
account or the proxy account and no try executing the package.

Have a read as well of this

http://support.microsoft.com/?kbid=269074





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.