Home > SI5 Documentation > User Guide > Support Solutions > Error Messages > Refresh, LoadGrid...and other Automation Errors

Refresh, LoadGrid...and other Automation Errors


Refresh, LoadGrid...and other Automation Errors


Issue: You attempt to open an SI5 project and you receive an “automation error” similar to or exactly like these examples. Depending on whether you are opening a Visio or AutoCAD project file versus a Text project file, you may get other additional errors as well that don’t reference “automation error”:
Example 1:
Error in Object: Refresh
Error Description: Automation error
The specified module could not be found.
Error Number:-2147024770


Example 2:
Error in Object: LoadGrid
Error Description: Automation Error
The device is not ready.
Error Number:-2147024875
Example 3:
An unhandled exception has been encountered:
Object variable or With block variable not set
 at SiAxLib._ProductDataMatrix.ClearAllViewIcons()
 at AxSiAxLib.AxProductDataMatrix.ClearAllViewIcons()
DTools.SystemIntegrator.Visio.SIDrawing.DisplayProductDataMatrix(Boolean CloseandReopen)
 at DTools.SystemIntegrator.Visio.SIDrawing..ctor(Document myVisioDocument)
Example 4:
Error in Object: ConvertSI5XML ToShadowDatabase
Error Description: The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field of fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
Error Number:-2147457259


Cause: These errors occur on Vista and Win7 machines and are caused by a bug in one (or more) of the Windows Security Updates for Microsoft XML Core Services 4.0.
Solution: First, verify if there actually is an issue with your MSXML on your machine. To do this:
  1. Download and unzip the attached file: test.zip
  2. Double-click the test.vbs file.
  3. A small message window will open.  It will either display “XML is good” or it will display “Your XML is messed up”


If you get the “XML is good” message, contact D-Tools Support so we can further troubleshoot. 
If you get the “Your XML is messed up” message, then install this Update for Microsoft XML Core Services 4.0 Service Pack 3. That should correct the errors.
Last modified


This page has no custom tags.


This page has no classifications.