Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ismailc
Constraint Violating Yak Guru
290 Posts |
Posted - 2007-07-30 : 10:24:09
|
Hi, I get the following error when trying to add a Successful SQL 2000 ActiveX VB script. I'm rewriting from SQL 2000 to 2005, but i get the following error when trying to parse.ActiveX Script TaskAn error occurred while creating the ActiveX scripting host. Verify that the scripting host is installed properly.I've checked on google but all I get is the error code. DTS_E_AXTASKUTIL_SCRIPTHOST_CREATE_FAILEDThe Windows Script 5.6 is installed on the server. 1. Im also not to sure if it's my code but it works in 2000. (below is the code i use to test - simple delete file) 2. Language : VB Script Language. Script : below code EntryMethod : Blank - I'm not to sure if this mus be blank dont really know waht to put in.Please anyone help on a solution! Thank YouFunction Main() sFile = "c:\source\Daily Sales.asc" Set oFSO = CreateObject("Scripting.FileSystemObject") If oFSO.FileExists(sFile) Then oFSO.DeleteFile sFile, TRUE End If Main = DTSTaskExecResult_SuccessEnd Function |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-07-30 : 10:42:22
|
Why are you posting same question again? E 12°55'05.25"N 56°04'39.16" |
|
|
ismailc
Constraint Violating Yak Guru
290 Posts |
Posted - 2007-07-31 : 02:56:58
|
Hi, I was not sure if was on the correct forum. SQL 2000 to SQL 2005, so i tried both. My entry Method is blank should it be? Regards, |
|
|
|
|
|