AnsweredAssumed Answered

Tool Calculate Field cannot use VB expression for service

Question asked by AIRO_MU on Sep 12, 2016
Latest reply on Sep 12, 2016 by AIRO_MU

Hi,

I have a model working in ArcGIS 10.3 that uses a .py script to run through a series of routines. One of them is Calculate Field and I have use Python_9.3 in the code. However, when I try and publish the service on my server I get an error: "Tool Calculate Field cannot use VB expression for service"

 

This is the code in the .py script. Any ideas where the problem is? I don't have VB anywhere.

 

arcpy.CalculateField_management("PopSummary", "PcPop014", '(!Sum_Pop_014T11! / !Sum_Pop_T11! )*100', "PYTHON_9.3")

 

Thanks

Justin

Outcomes