![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Have a look at this: http://support.microsoft.com/?kbid=269074 Can you have a look at my post regarding the Cmdexec DTS -- Fails? Thanks ----- Dan wrote: ----- I'm using SS2000 SP3. I have a dts package that runs fine when directly executed. However, when I schedule it, I get errors. When scheduled, it will fail on the first step which is to download a file from the ftp server. I've tried two different ways to download the file. When I try to use an Execute Process Task to run a batch file, I get this error: Executed as user: ARCHER\Administrator. ... the ftp site C:\WINNT\system32>ftp -i -s:svmcomftp.txt Error opening script file svmcomftp.txt. Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. Here is the batch file: ftp -i -s:svmcomftp.txt and the svmcomftp.txt file: open ftp.archeo.com jimbo aristy cd terminix\telecenter lcd G:\Clients\Terminix\VESTA\database\hotleads\SVMcom Data\source mget mission_leads_incoming.csv bye The other approach I tried was running the same files from an ActiveX script task. Here is the code: Function Main() Set ws = CreateObject("Wscript.Shell") ws.run """svmcomftp.bat""", 0, True Set ws = nothing Main = DTSTaskExecResult_Success End Function The error I get using this approach is: Executed as user: ARCHER\Administrator. ...: DTSStep_DTSActiveScriptTask_1 DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error = -2147220482 (800403FE) Error string: Error Code: 0 Error Source= Microsoft VBScript runtime error Error Description: Permission denied: 'CreateObject' Error on Line 1 Error source: Microsoft Data Transformation Services (DTS) Package When I try to run these packages, I am logged in through terminal services as administrator. The packages are owned by the administrator. And the packages run fine using either approach if I execute the package without scheduling it. Any ideas? Thanks, Dan |
![]() |
| Thread Tools | |
| Display Modes | |
| |