ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

24046: Tool <value> cannot use VB expressions for services

  • Solution

Tools that use VB expressions, such as Calculate Field, cannot use VB expressions in 64-bit ArcGIS products (ArcGIS for Server, ArcGIS for 64-bit Background Processing, and ArcGIS Runtime).

Solution

  • If your tool is not using a VB expression, you can ignore this warning.
  • If your tool uses a VB expression, you must modify your task to use Python. Geoprocessing services and packages built for ArcGIS Runtime can use the following instructions to update the task.
    • Remove the task from the Service Editor.
    • Edit the original tool.
    • Replace the VB expression with an equivalent Python expression.
    • Rerun the tool.
    • Add the result back into the Service Editor and finish publishing your service.

Tools executed in 64-bit Background Processing need to be rerun using a Python expression.

More information

Learn more about Calculate Field examples

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2020 Esri. | Privacy | Legal