Using desktop & ArcGIS for Server, I successfully (I think) created a custom print service using my own templates. I followed the tutorial and the recorded training seminar and I thought I had done it correctly, but I'm still getting an occasional error when I try to access the service in my Flex applications (both 3.1 and 3.4).
When I click the "Print" widget, the tool opens correctly and I can see the label modifications I've made in the xml file. But when I click the "Print" button on the tool, I get an error:
Error executing print task:
[RPC Fault faultString="Unable to complete operation." faultCode="400" faultDetail="Error executing tool."]
The thing is that I don't get an error if I have my own cached basemap turned on. It only appears when I'm using one of the ArcGIS Online basemaps (or Bing). And that behavior is the same regardless of which flex application I using.
Any ideas?
And here's another thing: when it does work (with the cached basemap), it seems like it's pulling the print page (either PDF or JPG) from the browser cache, as it often pulls up the previous map rather than the current view. Is there a way to force it to create a new map rather than pull it from the browser cache (this happens in both IE & FF)?
Thanks!