MapServerIdentifyResults is ignoring the MaxRecordCount set in the map service config file. This works fine when the connection is through DCOM.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM007675
Submitted
March 28, 2007
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.2
Version Fixed
9.3
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
The bug happens because we have a logic to test for esriIdentifyTopmost.esriIdentifyTopmost inherently means that we are really interested in the top most layer only.When we do the identify operation, we shall loop through all layers to exact all find results. However, if it is only the topmost layer that we are interested in, after collecting result for the first layer, we could just stop identifying.However, we test the top layer condition prior to testing whether the maxRecordCount has been reached. Hence in a situation where only we are interested in the topmost layer and there are more than maxRecordCount number of records there, the testing of maxRecordCount part is ignored.