dbTalk Databases Forums  

scheduled job failure

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


Discuss scheduled job failure in the microsoft.public.sqlserver.dts forum.



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

Default scheduled job failure - 01-09-2004 , 03:16 PM






I have a DTS package that has a scheduled job. It has been running fine for over 2 years now from a scheduled job. The scheduled job will not run now. I can execute the package on its own in Enterprise Manager, but now the scheduled job creates this error

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSActiveScriptTask_1 DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error = -2147220485 (800403FB) Error string: ActiveX Scripting : Error parsing script Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts80.hlp Help context: 1100 Error Detail Records: Error: -2147220485 (800403FB); Provider Error: 0 (0) Error string: ActiveX Scripting : Error parsing script 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

Any suggestions, as I can't find any info on this error
Thank


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

Default Re: scheduled job failure - 01-09-2004 , 03:28 PM






Show us what is inside the Active X Script
DTSStep_DTSActiveScriptTask_1

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
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


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

Quote:
I have a DTS package that has a scheduled job. It has been running fine
for over 2 years now from a scheduled job. The scheduled job will not run
now. I can execute the package on its own in Enterprise Manager, but now
the scheduled job creates this error:
Quote:
DTSRun: Loading... DTSRun: Executing... DTSRun OnStart:
DTSStep_DTSActiveScriptTask_1 DTSRun OnError:
DTSStep_DTSActiveScriptTask_1, Error = -2147220485 (800403FB) Error
string: ActiveX Scripting : Error parsing script Error source:
Microsoft Data Transformation Services (DTS) Package Help file:
sqldts80.hlp Help context: 1100 Error Detail Records:
Error: -2147220485 (800403FB); Provider Error: 0 (0) Error
string: ActiveX Scripting : Error parsing script 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.
Quote:
Any suggestions, as I can't find any info on this error.
Thanks




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

Default Re: scheduled job failure - 01-09-2004 , 04:21 PM



I can run this same script on our testing site and it runs fine in Enterprise Manager and as a job, the scipt has not changed at all. It is a 700 line Visual Basic ActiveX Script.

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

Default Re: scheduled job failure - 01-09-2004 , 04:34 PM



OK

The error says it cannot parse the file "Error parsing script "

Do you reference external dlls or do some CREATEOBJECT() stuff?

There is something on your Production Server that the script does not like.
Running it on your Testing site is rather like comparing Apples and Pears.

Does the job owner belong to the sysadmin role?
Yes: Log onto the production server as that account | Open the package
Quote:
go to the Active script task | parse it/run it.


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
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


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

Quote:
I can run this same script on our testing site and it runs fine in
Enterprise Manager and as a job, the scipt has not changed at all. It is a
700 line Visual Basic ActiveX Script.




Reply With Quote
  #5  
Old   
Diana
 
Posts: n/a

Default Re: scheduled job failure - 01-09-2004 , 04:36 PM



It is hard to tell what the issue is. But high probability is that you have security problem(because you can run DTS package and it fails as a job). Check if the job owner account still has same rights and it is not locked

Reply With Quote
  #6  
Old   
kmartin
 
Posts: n/a

Default Re: scheduled job failure - 01-13-2004 , 04:26 PM



Yes there are store prodcedures that are checked in the script (see below). Yes, I have checked the ownership and this is correct

Set rsData = CreateObject("ADODB.Recordset"
Set cnn = CreateObject("ADODB.Connection")

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.