Error: 000210 Cannot create output when running Python scripts that create feature classes
When running a Python script to create a feature class, it fails with "Error 000210: Cannot create output <value>."
User permissions have been granted to that location, the path is correct, and the data is not locked, but the script still fails.
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.
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.
- Open Mircosoft Security Essentials.
- Click the Settings Tab.
- Click Excluded files and locations.
Microsoft Security Essentials
- Type or browse to the location of the folder or file where the output is to be created.
- Click the Add button.
Added location to Microsoft Security Essentials excluded files
- Click Save Changes.
Microsoft Security Essentials excluded file
Last Published: 5/5/2016
Article ID: 000011810