iimPlayCode returns -1 from SQL Agent Job

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.

Moderator: iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

iimPlayCode returns -1 from SQL Agent Job

by BobbyOwens on Tue Sep 03, 2013 6:10 am

Hi,

I have a VB.NET application which has a command line interface. The application works fine when I run it manually. If I execute it from a SQL Server Agent Job, the iimPlayCode returns -4 (browser failed to start). I'm guessing this is something to do with not being able to have a UI. Does anyone know how I can get this working, I need to keep it as running from a SQL Agent Job as that's the way our company work.

Thanks in advance

Bobby
BobbyOwens
 
Posts: 2
Joined: Tue Sep 03, 2013 6:04 am

Re: iimPlayCode returns -1 from SQL Agent Job

by BobbyOwens on Tue Sep 03, 2013 6:10 am

please ignore the -1 in the subject of this listing. The error code is -4
BobbyOwens
 
Posts: 2
Joined: Tue Sep 03, 2013 6:04 am


Return to Scripting and Command Line Interface

Who is online

Users browsing this forum: Google [Bot] and 4 guests

Website Monitoring