Intelligent Automation & Macro Software  

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

Automation Anywhere Server & Enterprise Post messages and questions related to Automation Anywhere Server or Automation Anywhere Enterprise here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2010, 02:07 PM
kylepyro kylepyro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 28
Default Cannot access file

I have an existing script that runs as expected in my production environment. I've been making an enhancement and I have it running as expected in the script workbench or inside the script editor.

I created a new exe and copied it to another place on my local hard drive. When I run this exe the process dies and I get two errors in my Administrative Events log files. The first reads

"Log Name: Application
Source: Application Error
Date: 12/7/2010 3:39:56 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: flo-savagek.ape-usa.com
Description:
Faulting application name: BOL Index.exe, version: 6.0.0.5, time stamp: 0x4ad34449
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000096
Fault offset: 0x00a48065
Faulting process id: 0x11f0
Faulting application start time: 0x01cb96574a0399ef
Faulting application path: C:\AA\EXEC\BOL Index.exe
Faulting module path: unknown
Report Id: 87dd6737-024a-11e0-bc3b-0022191e05f0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-12-07T21:39:56.000000000Z" />
<EventRecordID>9034</EventRecordID>
<Channel>Application</Channel>
<Computer>flo-savagek.ape-usa.com</Computer>
<Security />
</System>
<EventData>
<Data>BOL Index.exe</Data>
<Data>6.0.0.5</Data>
<Data>4ad34449</Data>
<Data>unknown</Data>
<Data>0.0.0.0</Data>
<Data>00000000</Data>
<Data>c0000096</Data>
<Data>00a48065</Data>
<Data>11f0</Data>
<Data>01cb96574a0399ef</Data>
<Data>C:\AA\EXEC\BOL Index.exe</Data>
<Data>unknown</Data>
<Data>87dd6737-024a-11e0-bc3b-0022191e05f0</Data>
</EventData>
</Event>



The second reads

Log Name: Application
Source: Application Error
Date: 12/7/2010 3:39:56 PM
Event ID: 1005
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: flo-savagek.ape-usa.com
Description:
Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program Automation Anywhere Server because of this error.

Program: Automation Anywhere Server
File:

The error value is listed in the Additional Data section.
User Action
1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
2. If the file still cannot be accessed and
- It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
- It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
4. If the problem persists, restore the file from a backup copy.
5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.

Additional Data
Error value: 00000000
Disk type: 0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="49152">1005</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-12-07T21:39:56.000000000Z" />
<EventRecordID>9035</EventRecordID>
<Channel>Application</Channel>
<Computer>flo-savagek.ape-usa.com</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>Automation Anywhere Server</Data>
<Data>00000000</Data>
<Data>0</Data>
</EventData>
</Event>


I've recreated the exe and rebooted the machine - same result.

Ideas?

So, we've looked at this further. If we run this EXE on a different machine it performs as expected, so it would seem that the affected machine must have an operating system update that is killing AA Exe files.

Last edited by kylepyro; 12-08-2010 at 11:40 AM.
Reply With Quote
  #2 (permalink)  
Old 12-08-2010, 04:45 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello,

This seems to be strange issue. We would like to understand the issue much better by setting up an online meeting session. Please let us know if it is ok with you.

You can provide your contact details at support@automationanywhere.com
Reply With Quote
  #3 (permalink)  
Old 12-15-2010, 01:24 PM
kylepyro kylepyro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 28
Default

This turns out to be a OS problem - Data Execution Prevention in Windows 7. Control Panel/System/System Properties/Advanced/Performance/Data Execution Prevention. I have DEP on for all programs and needed to add this EXE as an exception.

thnx Tapan.
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 01:50 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