Frequently asked question

Why don't VBScripts or JScripts run on the new version of ArcGIS Desktop?


When running a VB script on a new version of ArcGIS Desktop, a Windows Script Host error message may display that reads, "Could not create object named esriGeoprocessing.GPDispatch.1".

Windows Script Host error message:

[O-Image] Windows Script Host error message

This issue occurs when the new version of ArcGIS is installed on a system that is running a 64-bit version of Windows. ArcGIS and the geoprocessor are still 32-bit code products, but by default on a 64-bit machine, the 64-bit version of VBScript runs automatically when a VBScript file is launched. For more information, the technical article under Related Information describes how to call the 32-bit version of VBScript to execute the code.

Article ID:000011423

  • 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