Run-time error 91 occurs after exiting ArcMap

Last Published: April 25, 2020


When exiting ArcMap, the following error displays:

Run-time error '91'
Object variable or With block variable not set.

Runtime error '440': Automation error."


This is a known issue.


This issue is addressed in PLTS 9.1 Foundation Service Pack 3 (SP3). See the link in the Related Information section below.

    Article ID:000009000

    • ArcGIS Production Mapping 9 x

    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

    Related Information

    Discover more on this topic

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options