Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-28-2007, 06:59 AM
cyesso cyesso is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Default Exe problem

I wrote a task to deploy onto one of our servers. When I click on the .exe file to run it. It pops up an error saying Bad Path/Filename in an alert box. If I click ok then the task runs just fine. The problem is that the task cannot be scheduled to run automatically because of this. Any ideas why I'm getting this error? The task doesn't make use of any variables and any file access in the script has the correct paths.
Reply With Quote
  #2 (permalink)  
Old 06-28-2007, 07:25 AM
Nick Nick is offline
Member
 
Join Date: May 2007
Posts: 37
Smile

cyesso,

Have you tried running the .exe on your local machine to see if you get the same error? Try re-building the .exe


If the above fails, Please post the text to you task. From the task editor select file / save as / text.
Reply With Quote
  #3 (permalink)  
Old 06-28-2007, 07:41 AM
cyesso cyesso is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Default

This file runs file on my local machine and it runs fine if I click on the error Box that pops up immediately when I execute the file.


1 If File Exists("C:\expedite_state\*.txt") Then
2 Open "************Censored for security purposes"
3 Type '****' in username in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration'
4 Type '****' in userpwd in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration'
5 Click on 'Accept Online Conduct Policy & Login' button in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration'
6 Click on 'Browse...' button in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration'
7 Delay: (3458 ms)
8 Keystrokes: [SHIFT DOWN]c[SHIFT UP][SHIFT DOWN];[SHIFT UP]\expedite[SHIFT DOWN]-[SHIFT UP]state\ram[DOWN ARROW][ENTER][ENTER] in "Choose file"
9 Log to File: Logged in/File Selected in "C:\log.txt"
10 Delay: (500 ms)
11 Click on 'Upload' button in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration'
12 Log to File: Uploaded in "C:\log.txt"
13 Copy Files "C:\expedite_state\*.txt" to "C:\expedite_state\Backup\"
14 Delete Files "C:\expedite_state\*.txt"
15 Close Browser
16 Log to File: Upload to State Successful in "C:\log.txt"
17 End If
18 Stop The Current Task
Reply With Quote
  #4 (permalink)  
Old 06-28-2007, 12:21 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello cyesso,

Do you know at what point the error pops up? Is it right away as soon as you run the exe or after performing some actions?

If all the paths like C:\expedite_state, C:\expedite_state\Backup\ etc. are existing on the target machine, I don't see anything wrong with the task as such.
Reply With Quote
  #5 (permalink)  
Old 06-28-2007, 12:35 PM
cyesso cyesso is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Default

It happens immediately on clicking the exe. All the paths exist.
Reply With Quote
  #6 (permalink)  
Old 06-28-2007, 12:50 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Do you have write privileges in the same folder where the exe is located?

It maybe generating some temp files in the same folder.
Reply With Quote
  #7 (permalink)  
Old 06-28-2007, 02:04 PM
cyesso cyesso is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Default

It's running with full admin privileges as far as I can tell. I've changed the directory, I've removed individual statements. Nothing seems to work.
Reply With Quote
  #8 (permalink)  
Old 07-01-2007, 05:35 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

In that case we recommend you call the support staff at 1-888-484-3535 ext 3 and they should be able to help you resolve the problem.
Reply With Quote
  #9 (permalink)  
Old 09-09-2007, 09:15 PM
gmichaels gmichaels is offline
Junior Member
 
Join Date: Sep 2007
Posts: 2
Default Path/File access error

Was this issue ever resolved? We are experiencing the exact same problem on on of our servers.
Reply With Quote
  #10 (permalink)  
Old 09-11-2007, 02:39 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

It is possible that an exe called WPA.exe is running before you run the task. Before you run the task, please ensure from Task Manager that you kill the WPA.exe process and then try re-running the exe to see if that solves the problem.

We would recommend you to call us at 1-888-484-3535 x 2.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 03:00 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved