Hi all,
I am attempting to get a mapit application working. I've set up a database table with some SQL Geography points in it for one FeatureLayer and it works fine. I am now trying to do another featurelayer using SQL Geography LineStrings, but I am getting a problem when calling the Spatial Data service. The query string that is being put on the url is "query?returnGeometry=true&spatialRel=esriSpatialRelIntersects&where=1%3d1&outSR=102100&f=json&". When I run this I get "Unable to perform query. Please check your parameters". If I remove the outSR argument from the query string I can call the Spatial data service and get some results back. Is there a way of removing this argument from a setting in either the FeatureLayer xaml or in code?
Thanks
CC