When trying :
EXEC xp_cmdshell 'dtsrun /S ServerName /N PackageName'
OR
ActiveX VBScipt solution:
Dim dtsp
Set dtsp = CreateObject("DTS.Package"
dtsp.LoadFromSQLServer "ServerName", _
"ServerUID", _
"Serverpassword", DTSSQLStgFlag_Default, _
"","","", "PackageName"
dtsp.Execute
dtsp.UnInitialize
Set dtsp = Nothing
I get following error msg :
"Error 22022: SQLServerAgent Error: Request to run job JOBNAME (from User USERID) refused because the job is already running from a request by User USERID" .
What do I have to do to start DTS package on the same server where job is? VBScript code works if I run it from outside of SQL2000.
EXEC xp_cmdshell 'dtsrun /S ServerName /N PackageName'
OR
ActiveX VBScipt solution:
Dim dtsp
Set dtsp = CreateObject("DTS.Package"
dtsp.LoadFromSQLServer "ServerName", _
"ServerUID", _
"Serverpassword", DTSSQLStgFlag_Default, _
"","","", "PackageName"
dtsp.Execute
dtsp.UnInitialize
Set dtsp = Nothing
I get following error msg :
"Error 22022: SQLServerAgent Error: Request to run job JOBNAME (from User USERID) refused because the job is already running from a request by User USERID" .
What do I have to do to start DTS package on the same server where job is? VBScript code works if I run it from outside of SQL2000.