Hello,
I've customized a Flex Viewer so that I can pass it parameters on the URL to query a mapservice layer with a particular feature id and then zoom the map to the found feature. A few end users are getting the following error message with they launch the viewer with these URL parameters:
RPC Fault faultstring="Error #2032" faultcode="null" faultDetail="null"
I traced the browser activity with Fiddler and noticed that when the viewer sends a query request to the map service the response is a request for client credentials. When I (and many of my colleagues) run the viewer we don't encounter this problem and the response is successful.
The URL looks like this:
/ArcGIS/rest/services/MyServiceName/MapServer/0/query?f=amf&returnGeometry=true&where=ID%3D5818&spatialRel=esriSpatialRelIntersects
I'm using ArcGIS Server 10. I'm currently asking the effected users to try a version of the viewer that I have changed the requested format from AMF to JSON. I'm waiting to hear what the results are.
Any ideas about what is going on?
Thanks
Mark