dbTalk Databases Forums  

Re: How to Schedule a DTS ???`

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


Discuss Re: How to Schedule a DTS ???` in the microsoft.public.sqlserver.dts forum.



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

Default Re: How to Schedule a DTS ???` - 08-15-2003 , 09:53 AM






Have a look at this-

http://support.microsoft.com/default...b;en-us;269074


What does DTSStep_DTSActiveScriptTask_1 do, since that is reporting a failed
result state.

--
Darren Green
http://www.sqldts.com

"Jean-Francois Bouchard" <jeanfrancois_21 (AT) hotmail (DOT) com> wrote

Quote:
I have created a DTS that is exporting data to a text file.

I scheduled it to run every hours, but it's always
failed. SQL agent is defined to connect to sql with the
login SA.. and the job is also setup to run with login SA,
wich have SysAdmin right. HEre is the error reported by
job history:


DTSRun: Loading... DTSRun: Executing... DTSRun
OnStart: DTSStep_DTSActiveScriptTask_1 DTSRun OnError:
DTSStep_DTSActiveScriptTask_1, Error = -2147220421
8004043B) Error string: The task reported failure on
execution. Error source: Microsoft Data
Transformation Services (DTS) Package Help file:
sqldts80.hlp Help context: 1100 Error Detail
Records: Error: -2147220421 (8004043B); Provider
Error: 0 (0) Error string: The task reported
failure on execution. Error source: Microsoft Data
Transformation Services (DTS) Package Help file:
sqldts80.hlp Help context: 1100 DTSRun
OnFinish: DTSStep_DTSActiveScriptTask_1 DTSRun:
Package execution complete. Process Exit Code 1. The
step failed.



Reply With Quote
  #2  
Old   
Jean-Francois Bouchard
 
Posts: n/a

Default Re: How to Schedule a DTS ???` - 08-15-2003 , 10:48 AM






My DTS goes through 5 step (Here is the first one):

1- Active X Script: I Use an FileSystemObject to look if
the text file is already presend on the hard drive. if
yes, I use the command Main = DTSTaskResult_Failed to quit
the DTS and have a failed status.. (With a workflow on the
OnSucess, it goes to step2) maybe i'm not proceding in
the correct way?


Quote:
-----Original Message-----
Have a look at this-

http://support.microsoft.com/default.aspx?scid=kb;en-
us;269074


What does DTSStep_DTSActiveScriptTask_1 do, since that is
reporting a failed
result state.

--
Darren Green
http://www.sqldts.com

"Jean-Francois Bouchard" <jeanfrancois_21 (AT) hotmail (DOT) com
wrote in message
news:0a7601c3633b$9cb6c5b0$a601280a (AT) phx (DOT) gbl...
I have created a DTS that is exporting data to a text
file.

I scheduled it to run every hours, but it's always
failed. SQL agent is defined to connect to sql with the
login SA.. and the job is also setup to run with login
SA,
wich have SysAdmin right. HEre is the error reported by
job history:


DTSRun: Loading... DTSRun: Executing... DTSRun
OnStart: DTSStep_DTSActiveScriptTask_1 DTSRun
OnError:
DTSStep_DTSActiveScriptTask_1, Error = -2147220421
8004043B) Error string: The task reported failure
on
execution. Error source: Microsoft Data
Transformation Services (DTS) Package Help file:
sqldts80.hlp Help context: 1100 Error Detail
Records: Error: -2147220421 (8004043B); Provider
Error: 0 (0) Error string: The task reported
failure on execution. Error source: Microsoft Data
Transformation Services (DTS) Package Help file:
sqldts80.hlp Help context: 1100 DTSRun
OnFinish: DTSStep_DTSActiveScriptTask_1 DTSRun:
Package execution complete. Process Exit Code 1. The
step failed.


.


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

Default Re: How to Schedule a DTS ???` - 08-17-2003 , 10:46 AM



If you're using the FSO, you need to be concerned with 1.)the Domain Account
with which the DTS Job/SQL Agent) is running, and 2.) How you're specifying
the file you're checking (ex:. C:\MyFile.txt or
\\MyServer\MyShare\MyFile.txt)

- Rick
"Jean-Francois Bouchard" <jeanfrancois_21 (AT) hotmail (DOT) com> wrote

Quote:
My DTS goes through 5 step (Here is the first one):

1- Active X Script: I Use an FileSystemObject to look if
the text file is already presend on the hard drive. if
yes, I use the command Main = DTSTaskResult_Failed to quit
the DTS and have a failed status.. (With a workflow on the
OnSucess, it goes to step2) maybe i'm not proceding in
the correct way?


-----Original Message-----
Have a look at this-

http://support.microsoft.com/default.aspx?scid=kb;en-
us;269074


What does DTSStep_DTSActiveScriptTask_1 do, since that is
reporting a failed
result state.

--
Darren Green
http://www.sqldts.com

"Jean-Francois Bouchard" <jeanfrancois_21 (AT) hotmail (DOT) com
wrote in message
news:0a7601c3633b$9cb6c5b0$a601280a (AT) phx (DOT) gbl...
I have created a DTS that is exporting data to a text
file.

I scheduled it to run every hours, but it's always
failed. SQL agent is defined to connect to sql with the
login SA.. and the job is also setup to run with login
SA,
wich have SysAdmin right. HEre is the error reported by
job history:


DTSRun: Loading... DTSRun: Executing... DTSRun
OnStart: DTSStep_DTSActiveScriptTask_1 DTSRun
OnError:
DTSStep_DTSActiveScriptTask_1, Error = -2147220421
8004043B) Error string: The task reported failure
on
execution. Error source: Microsoft Data
Transformation Services (DTS) Package Help file:
sqldts80.hlp Help context: 1100 Error Detail
Records: Error: -2147220421 (8004043B); Provider
Error: 0 (0) Error string: The task reported
failure on execution. Error source: Microsoft Data
Transformation Services (DTS) Package Help file:
sqldts80.hlp Help context: 1100 DTSRun
OnFinish: DTSStep_DTSActiveScriptTask_1 DTSRun:
Package execution complete. Process Exit Code 1. The
step failed.


.




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

Default Re: How to Schedule a DTS ???` - 08-18-2003 , 07:38 AM



remember it will be looking for the file on the C drive of the server when
you schedule it.



--

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



"Jean-Francois Bouchard" <Jeanfrancois_21 (AT) hotmail (DOT) com> wrote

Quote:
OK, here is some details:
Some of the code I have put is not compatible with the
sheduler.. This is an ACtiveX Script That Look if a
TextFile exist before going to the next step.

This code is always returning Failure from the
Scheduler. But it's working if I execute the DTS
Manually. Here is the code:

if fso.FileExists("c:\fichier.txt") then
Main= DTSTaskExecResult_Success
else
Main= DTSTaskExecResult_Failure
end if



-----Original Message-----
If you're using the FSO, you need to be concerned with
1.)the Domain Account
with which the DTS Job/SQL Agent) is running, and 2.)
How you're specifying
the file you're checking (ex:. C:\MyFile.txt or
\\MyServer\MyShare\MyFile.txt)

- Rick
"Jean-Francois Bouchard" <jeanfrancois_21 (AT) hotmail (DOT) com
wrote in message
news:01a901c36344$b88621b0$a101280a (AT) phx (DOT) gbl...
My DTS goes through 5 step (Here is the first one):

1- Active X Script: I Use an FileSystemObject to look
if
the text file is already presend on the hard drive. if
yes, I use the command Main = DTSTaskResult_Failed to
quit
the DTS and have a failed status.. (With a workflow on
the
OnSucess, it goes to step2) maybe i'm not proceding in
the correct way?


-----Original Message-----
Have a look at this-

http://support.microsoft.com/default.aspx?scid=kb;en-
us;269074


What does DTSStep_DTSActiveScriptTask_1 do, since
that is
reporting a failed
result state.

--
Darren Green
http://www.sqldts.com

"Jean-Francois Bouchard" <jeanfrancois_21 (AT) hotmail (DOT) com
wrote in message
news:0a7601c3633b$9cb6c5b0$a601280a (AT) phx (DOT) gbl...
I have created a DTS that is exporting data to a
text
file.

I scheduled it to run every hours, but it's always
failed. SQL agent is defined to connect to sql
with the
login SA.. and the job is also setup to run with
login
SA,
wich have SysAdmin right. HEre is the error
reported by
job history:


DTSRun: Loading... DTSRun: Executing... DTSRun
OnStart: DTSStep_DTSActiveScriptTask_1 DTSRun
OnError:
DTSStep_DTSActiveScriptTask_1, Error = -2147220421
8004043B) Error string: The task reported
failure
on
execution. Error source: Microsoft Data
Transformation Services (DTS) Package Help
file:
sqldts80.hlp Help context: 1100 Error
Detail
Records: Error: -2147220421 (8004043B);
Provider
Error: 0 (0) Error string: The task reported
failure on execution. Error source: Microsoft
Data
Transformation Services (DTS) Package Help
file:
sqldts80.hlp Help context: 1100 DTSRun
OnFinish: DTSStep_DTSActiveScriptTask_1 DTSRun:
Package execution complete. Process Exit Code 1.
The
step failed.


.



.




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.