000444: Python expression is blocked when using a dispatch-based application.

Description

Calculate Value (or Calculate Field using PYTHON as the expression type) should be called either using ArcPy or the arcgisscripting module. This tool and option cannot be used when the geoprocessor is created using the GPDispatch methodology.

Solution

Consider switching to use ArcPy or the arcgisscripting module.