Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 DTS fails to copy file on scheduler??

Author  Topic 

hearnie
Starting Member

49 Posts

Posted - 2005-06-02 : 07:02:07
Hi Guys,

Can anyone help me here. I have a DTS package with an ActiveX script as a task, which copies a file from a share drive to a local folder. When I schedule the DTS package, each time it runs it fails to copy this file operates as if it doesnt exist. However if I right click the package and select Execute from within the Local Packages window.....it runs fine?

anyone have any idea what this is?

H.

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2005-06-02 : 07:29:06
When you say "Share Drive", do you mean you have mapped a network share to a drive letter ?

When you run a DTS package, it runs as YOU so it would have access to your desktop context. When you run as a job, it's running as the service account, which won't have the same drives and/or permissions.



Damian
Ita erat quando hic adveni.
Go to Top of Page

ammy
Starting Member

7 Posts

Posted - 2005-06-02 : 07:52:20
Hi merkin
suppose we have data on server so in this case how set the permission for the scheduling?

ammy
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2005-06-02 : 07:58:16
ammy, that doesn't make any sense. I'd assume you always have data on your server.


Damian
Ita erat quando hic adveni.
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2005-06-02 : 08:54:22
Original thread continued here... http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=50571



Damian
Ita erat quando hic adveni.
Go to Top of Page
   

- Advertisement -