Identify Task Error: SCRIPT14: error -2147024882

1236
5
08-30-2011 10:54 AM
StevenGriffith
New Contributor III
I'm getting this error ("SCRIPT14: error -2147024882") when the JavaScript identify task attempts to process data returned from my service. The problem seems to be related to the size of the data returned as identify tasks that return a smaller amount of data succeed.

Currently, a 1MB return data object works and a 1.33MB return data object fails. There appears to be little to no difference between the objects returned (at least that I can tell).

The errors appear to be limited to IE 9 - Chrome works just fine, as does Firefox.

I'm using the 2.4 version of the JavaScript library and v10 on the server.
0 Kudos
5 Replies
DavidMendoza
New Contributor
Hello

I have the same trouble, how ever, I'm using v2.6 of javascript.
0 Kudos
derekswingley1
Frequent Contributor
Are you using a proxy? Can you post a repro case?
0 Kudos
DavidMendoza
New Contributor
Thanks for reply, I've the next testing page on http://www.atlasnacionalderiesgos.gob.mx/paginas_php/pruebamapa/query004.html and an image to show how it runs on Internet Explorer.


[ATTACH=CONFIG]11423[/ATTACH]

I'm not using a proxy.

Thank you!
0 Kudos
derekswingley1
Frequent Contributor
Thanks for the link.

The first thing I recommend is to start using maxAllowableOffset on your feature layers. I wrote a blog post last year on this very topic:
http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/06/13/Feature-layers-can-generalize-geomet...

I'm recommending this because I think your app is choking on the large responses. Using maxAllowableOffset will reduce the amount of data sent to the client and IE should perform much better and I would expect the errors your seeing to disappear.
0 Kudos
DavidMendoza
New Contributor
Thanks Derek for the answer, I'll try using maxAllowableOffset, I'm reading the post to improve the app.

Thank you.
0 Kudos