IQueryFunctionality Identify Method

3748
3
09-02-2015 04:28 AM
Highlighted
New Contributor

Hi to all

I have a problem with Query Functionality interface, it does return "Index was outside the bounds of the array" error.

  IQueryFunctionality queryFunctionality = (IQueryFunctionality)gisResource.CreateFunctionality(typeof(ESRI.ArcGIS.ADF.Web.DataSources.IQueryFunctionality), "identify_");

DataTable[] resultTables = queryFunctionality.Identify(mapFunctionality.Name, adfPoint, IdentifyTolerance, IdentifyOption.VisibleLayers, null);

I use Arcgis Server 10.

Regards

0 Kudos
3 Replies
Highlighted
Occasional Contributor

Is this ArcObjects? Or Web ADF?

Highlighted
New Contributor

Hi, it`s Web ADF

0 Kudos
Highlighted
by Esri Contributor
Esri Contributor

The ArcGISSOC account needs to have, at least, read access to the mxd and underlying data used in the map document.

0 Kudos