ERROR

000210 Cannot create output when running Python scripts that create feature classes

Last Published: April 25, 2020

Error Message

When running a Python script to create a feature class, it fails with "Error 000210: Cannot create output <value>."
[O-Image] Error 000210 in Python Script
User permissions have been granted to that location, the path is correct, and the data is not locked, but the script still fails.

Cause

Microsoft Security Essentials is blocking Python from using output file the location.

Other anti-virus programs/applications can also prevent the creation of the feature class.

Note:
Although other issues can cause this error, this Knowledge Base article is directed at users who have installed Microsoft Security Essentials and are encountering this issue.

Solution or Workaround

Add an exclusion in Mircosoft Security Essentials. The exclusion can be made for the output file location that is being blocked, for example: C:\temp\scratch.gdb.

  1. Open Mircosoft Security Essentials.
  2. Click the Settings Tab.
  3. Click Excluded files and locations.
    Microsoft Security Essentials

    [O-Image]
  4. Type or browse to the location of the folder or file where the output is to be created.
  5. Click the Add button.
    Added location to Microsoft Security Essentials excluded files

    [O-Image]
  6. Click Save Changes.
    Microsoft Security Essentials excluded file

    [O-Image]

Article ID:000011810

Software:
  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic