laptop and a wrench

Bug

When 'OutStatisticFieldName' is set to 'count' when querying a layer, the query fails.

Last Published: December 5, 2016 ArcGIS GIS Server
Bug ID Number BUG-000101148
SubmittedDecember 2, 2016
Last ModifiedNovember 21, 2025
Applies toArcGIS GIS Server
Version found10.4.1
Operating SystemN/A
Operating System VersionN/A
StatusKnown Limit

Additional Information

Map services rely on underlying databases for the outStatistics capability. 'count' is a reserved word by some databases, and the database returns an error when a field name is set using one of those reserved words. Use a valid field name that is not 'count' or other reserved words.

Workaround

Change the 'OutputStatisticFieldName' property to something other than 'count.'

Steps to Reproduce

Bug ID: BUG-000101148

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options