I have a simple geoprcessing tool running the Minus tool with a .tif output. In the output parameters of the service if I leave the View result as a Map Service unchecked it runs fine and gives me back a link to the result .tif as show here.
But I want the output to the map. But when I check the View result as a Map Service box I get a error in Flex and in the server logs as show here. The server is yelling about the inputs but it works fine not as a map service.
I have tried every kind of option check and uncheck I can think of. I think my settings are correct on the Desktop side and the model side since it does work as a link. But still i tried all types of parameter and output vars and settings with no luck. It does not have to be a tif out but even when i give a grid as output it still gives me a tif anyways. I have also tried the View as Output checkbox in the Flex Geoprocessing widget on and off.
These layers are part of a raster catalog connected to the time slider if that makes any diff (but again the link works fine).
Any input would be great, i am out of ideas. No the map is not public, I can not do that.
I am using 10.2 Desktop and Server and Flex 3.6. Using the app builder for this simple test.
Thanks a lot
Have you been able to publish any simple geoprocessing service with an output of a map service? Looks like your ArcGIS Server configuration might not be allowing it to generate a new map service on the fly.
Is your geoprocessing service and ArcGIS Server 10.2 set up to allow the most verbose logging available? I was hoping you would have more INFO messages than just that 1 Error message in your ArcGIS Server log.