dbTalk Databases Forums  

ActiveX Scripting Error 2147220482 (800403FE) in DTS package..

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


Discuss ActiveX Scripting Error 2147220482 (800403FE) in DTS package.. in the microsoft.public.sqlserver.dts forum.



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

Default ActiveX Scripting Error 2147220482 (800403FE) in DTS package.. - 09-15-2004 , 01:42 PM






I have a DTS package that is run from a web UI via xp_cmdshell and DTSRUN,
I'm getting an Active X script error on one of my steps only when run
through the web app, running from QA works fine...

TREAD report generation failed. DTSRun OnError:
DTSStep_DTSActiveScriptTask_1, Error = -2147220482 (800403FE) Error string:
ActiveX Scripting encountered a Run Time Error during the execution of the
script. Error source: Microsoft Data Transformation Services (DTS) Package
Error Detail Records: Error: -2147220482 (800403FE); Provider Error: 0 (0)
Error string: ActiveX Scripting ... H DEATH INJURY

I've read this article, I don't have a DefaultAcessPermissions registry
key...
http://support.microsoft.com/default...;EN-US;q298725


Here's the script for the step thats failing... Also We've set the proxy
account for the SQL Agent job system so non-sysadmins can run this dts
package via xp_cmdshell the account has the proper permissions...

Any ideas on what could be the problem....?

'************************************************* *********************
' Visual Basic ActiveX Script
'************************************************* ***********************

Function Main()

Dim fso

Set fso = CreateObject("Scripting.FileSystemObject")

If fso.FileExists(DTSGlobalVariables("TemplateUNC").V alue &
"Working\H_DEATHINJURY.XLS") Then

fso.DeleteFile DTSGlobalVariables("TemplateUNC").Value &
"Working\H_DEATHINJURY.XLS"

End If

fso.CopyFile DTSGlobalVariables("TemplateUNC").Value &
"Templates\H_DEATHINJURY.XLS", DTSGlobalVariables("TemplateUNC").Value &
"Working\H_DEATHINJURY.XLS"

Set fso = Nothing

Main = DTSTaskExecResult_Success

End Function



Reply With Quote
  #2  
Old   
alien2_51
 
Posts: n/a

Default Re: ActiveX Scripting Error 2147220482 (800403FE) in DTS package.. - 09-15-2004 , 03:52 PM






I found the problem, apparently ActiveX script don't like FQDN's...


"alien2_51" <dan.billow"at"n.o.s.p.a.m.monacocoach.commercialv ersion> wrote
in message news:%23BnV5O1mEHA.644 (AT) tk2msftngp13 (DOT) phx.gbl...
Quote:
I have a DTS package that is run from a web UI via xp_cmdshell and DTSRUN,
I'm getting an Active X script error on one of my steps only when run
through the web app, running from QA works fine...

TREAD report generation failed. DTSRun OnError:
DTSStep_DTSActiveScriptTask_1, Error = -2147220482 (800403FE) Error
string:
ActiveX Scripting encountered a Run Time Error during the execution of the
script. Error source: Microsoft Data Transformation Services (DTS) Package
Error Detail Records: Error: -2147220482 (800403FE); Provider Error: 0 (0)
Error string: ActiveX Scripting ... H DEATH INJURY

I've read this article, I don't have a DefaultAcessPermissions registry
key...
http://support.microsoft.com/default...;EN-US;q298725


Here's the script for the step thats failing... Also We've set the proxy
account for the SQL Agent job system so non-sysadmins can run this dts
package via xp_cmdshell the account has the proper permissions...

Any ideas on what could be the problem....?

'************************************************* *********************
' Visual Basic ActiveX Script
'************************************************* ***********************

Function Main()

Dim fso

Set fso = CreateObject("Scripting.FileSystemObject")

If fso.FileExists(DTSGlobalVariables("TemplateUNC").V alue &
"Working\H_DEATHINJURY.XLS") Then

fso.DeleteFile DTSGlobalVariables("TemplateUNC").Value &
"Working\H_DEATHINJURY.XLS"

End If

fso.CopyFile DTSGlobalVariables("TemplateUNC").Value &
"Templates\H_DEATHINJURY.XLS", DTSGlobalVariables("TemplateUNC").Value &
"Working\H_DEATHINJURY.XLS"

Set fso = Nothing

Main = DTSTaskExecResult_Success

End Function





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.