Avatar of arthrex
arthrexFlag for Germany asked on

SSIS Error in Active x Script: Error: 0xC0048006 at ActiveX Script Task, Retrieving the file name for a component failed.

Hi Experts,

I have problems running a simple activex Script in a SSIS Job.
The Script:

'  Visual Basic ActiveX Script

Function Main()

Dim fso, f, strFilePath, retVal
strFilePath = "C:\...\SSIS\ImportData\Log.csv"
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(strFilePath,1)
retVal = f.readall
int i = retVal

End Function

This script throws this error:
It is running fine if I start it in a "Non-SSIS-Context".

Error: 0xC0048006 at ActiveX Script Task, ActiveX Script Task: Retrieving the file name for a component failed with error code 0x03A2E1A4.

Thanks a lot for help!
Microsoft SQL ServerWeb ComponentsMicrosoft SQL Server 2005

Avatar of undefined
Last Comment
James Murrell

8/22/2022 - Mon
James Murrell

this might help http://support.microsoft.com/?id=828550 hope it does

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
James Murrell

ok thanks for the update and good luck
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.