dbTalk Databases Forums  

Error when run a job, which execute a DTS package

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


Discuss Error when run a job, which execute a DTS package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mihaela M.
 
Posts: n/a

Default Error when run a job, which execute a DTS package - 04-06-2004 , 07:52 AM







I have a DTS package, which creates an object (which is a DLL), registered
on the server.
When I execute this package, from the server, it works fine, the object is
created successful.

But I need this package to be scheduled, so I created a job, which runs
DTSRUN command in its step:
dtsrun /Smyserver /Uusername /Ppassword /Npackagename

But the job fails on execution. It is because of creating the object. From
one reason, the object cannot be created.
What is wrong?

Please help.
Thanks a lot.



Reply With Quote
  #2  
Old   
Mihaela M.
 
Posts: n/a

Default Re: Error when run a job, which execute a DTS package - 04-06-2004 , 10:21 AM






Possible to be the security settings.
So what have I do? What rights should I have to use for the object I'm
trying to create from DTS?


"DBA72" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Mihaela,
When you run a DTS package manually, it runs under the security context of
the account you are currently logged on with. When you schedule the DTS
package, it runs under the security context of the account that SQL Server
Agent runs under.
Quote:
Perhaps there are differences in the rights of these two accounts.



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.