The script is not compiled

Last Published: April 25, 2020

Error Message

This error occurs when creating custom view buttons for a project:

"The script is not compiled."


There are two possible causes for this error:

· The script is not compiled.

· Two or more documents within the project have the same name.

Solution or Workaround

  • Click the compile button to compile the script.
    [O-Image] Script compile button
  • Change the name of the document.

    1. Make the script, view, or layout active.

    2. Select Properties from the Script, View, or Layout pull-down menu.

    3. Type a new name for the document in the Name field.

    4. Click the OK button.

Article ID:000004403

  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options