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.
Attachment 30526
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.
Attachment 30527
Attachment 30528
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
Attachment 30526
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.
Attachment 30527
Attachment 30528
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