RE: Running DTS packages from ASP
Here's the code that connects to the database Const DTSSQLStgFlag_Default = 0 Const DTSStepExecResult_Failure = 1 Dim oPkg, oStep, sErr, bSuccess Dim sServer, iSecurity, sUID, sPWD, sPkgName, sPkgPWD ' Get Form Variables sServer = Request.Form("txtServer") iSecurity = CInt("0" & Request.Form("optSecurity")) sUID = Request.Form("txtUID") sPWD = Request.Form("txtPWD") sPkgName = Request.Form("txtPkgName") sPkgPWD = Request.Form("txtPkgPWD") ' Validate Variables […]
2003-12-15