Compile error: Can't find project or library

Last Published: April 25, 2020

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.


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.

Article ID:000003641

  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic