Query Task Issue - Strange Issue

647
2
08-31-2010 10:31 PM
LakshmananVenkatesan
Frequent Contributor
hello

In my application, I have button which saves the user drawn shapes(polygon) to database (SDE layer sitting in ArcsDE) using Geoprocessing tool. Once I save the shapes, immediately am using query task to query the newly saved shapes is failing. When I query using REST interface using browser I am getting result. I am really surprised on this action. Can any one help me on this?

Note, am saving to SDE layer (table registered with shapes in oracle 10.2 g database) using 9.31.
SL API version 1.2. Please help me on this issue
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Try by setting to true the DisableClientCahing parameter of the QueryTask (not sure this will solve your case but worth the try)
0 Kudos
dotMorten_esri
Esri Notable Contributor
Could you please share some details on what you mean by "failing" ?
Don't you get a result, do you get the wrong result, do you get an error (and in that case what is the error and the full stacktrace), if you look at the request in Fiddler, how does the one Silverlight send differ from the one you do in the HTML/REST interface?
0 Kudos