Tuesday, July 23, 2013

Access Violation at Address in Module 'AMEngine.dll'

The error (the title) was received one day when working on a task that deals with Excel. Network Automation tech support and I worked on resolving this for about ten days to find out that the error was the name of the Excel worksheet. The error that BPA Server returns is not all that helpful when troubleshooting but the message itself makes sense. Basically you are telling Excel to write to a nonexistent worksheet, which it does not like.

If we break down the error:

  • Access Violation
    • This is because you are attempting to write somewhere that you can't. (It doesn't exist!)
  • At address
    • is where it was trying to write (presumably on the disk, not verified) at.
  • in Module 'AMEngine.dll'
    • AMEngine.dll is the dynamic library this is telling it how to perform the Excel write.
      • After doing some research, the AMEngine.dll seems to be the Automate Task Interpreter.


If you see this error when writing to an Excel workbook, check your worksheet names!​

No comments:

Post a Comment