troubleshooting Question

Problem running SSIS Package (containing Execute Process Task) with SQL Server Agent

Avatar of cErasmus
cErasmusFlag for Namibia asked on
Microsoft SQL ServerMicrosoft SQL Server 2005
20 Comments1 Solution2456 ViewsLast Modified:
Ive developed an SSIS package containing an  Execute Processs Task  that runs  a file called StartVPN.EXE. This file starts a CISCO VPN connection and contains the following  Windows Script which has been compiled using a Windows Macro Recorder:
Run C:\Program Files\Cisco Systems\VPN Client\vpngui.exe
WinWait, status: Disconnected | VPN Client - Version 4.8.02.0010,
IfWinNotActive, VPN Client  |  User Authentication for "myClientConnection", , WinActivate, VPN Client  |  User Authentication for " myClientConnection ",
WinWaitActive, VPN Client  |  User Authentication for " myClientConnection ",
Send, myPassword{ENTER}
The above works fine as long as I run the package manually. When I try to use SQL Server Agent (2005) to run it, the job pauses at the last statement i.e. Send, myPassword{ENTER}. This statement is supposed to enter a password in a dialog box, after which the OK button (or ENTER) is pressed to establish the connection.
Any comments to help solving the above problem will be appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 20 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 20 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros