Complex Polygon Fails in Query Task

Discussion created by iamlaksh3 on Apr 24, 2012
Latest reply on Apr 24, 2012 by demin

I am doing a query task using SLIVERLIGHT API 2.1, it fails and returns "Unable to complete Operation." as a message in failed event. No stack trace available.
I am working on spatial intersection with a polygon layer on a input geometry. But input geometry is bit complex, i.e it has one small inner ring. Please see attached image

a) What is best method to clean this shape? and make it is a validate shape.
b) why query task returns generic message unable to complete operation, why detailed error message is not given

Kindly help me on this