English

Error: Compile error: Can't find project or library

Error Message

This error occurs when trying to run the Semantics Checker from Visio:

Compile error:
Can't find project or library.

The VBA IDE is displayed afterwards.

Cause

The Semantics Checker type library is not found by Visual Basic for Applications inside Visio.

This error happens with models created with the templates from some beta versions of ArcGIS 8.1.

Solution or Workaround

  1. In VBA, click the Run menu and then click Reset.
  2. Click Tools > References.
  3. Remove the check to the left of 'MISSING: ESRI UML Semantics Checker.'
  4. Click OK.
  5. Click Tools > References again.
  6. Click Browse and go to the ArcGIS installation directory (By default C:\ArcGIS\Arcexe81\bin).
  7. Select UmlSemCheck.dll.
  8. Click OK.
  9. Close VBA.
  10. Save your model.
  11. Click Tools > Macros > ESRI > Semantics_Checker.