Select to view content in your preferred language

Query Task Limit and Time Out

2246
2
07-03-2010 03:19 AM
LakshmananVenkatesan
Frequent Contributor
We have developed SL application, where query task is used, to query the polygon feature class using query eg. TASK ID IN ('100', '200'). Query task is failed when we send more ID's in where clause (say more than 600). What is maximum limit ?. Is this ESRI limitation if yes, where the query string ilimit is mentioned? or http restriction?  Though map service max record count set to 1000 still query task is failed.


Pl advice
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Looks like you run into an IE limitation : the Url lenght must be less than 2083.

Nevertheless the SL API should use a POST request to avoid this issue. So it's strange.

Is it working with another browser than IE?
Which versions of the API are you using?
Are you talking about a query task or about a feature layer with a where clause (in this latest case, it's a known limitation)?
0 Kudos
dotMorten_esri
Esri Notable Contributor
Instead of using the Where parameter, you might want to consider using the ObjectIDs parameter instead.
0 Kudos