Select to view content in your preferred language

Running GPTask Error

531
1
Jump to solution
07-11-2012 01:02 AM
JoeHershman
MVP Alum
I am trying to run a Geoprocessing Task from my Silverlight application.  But when I do it fails and gives the error:

Error Code '500': 'GPTask 'GetImagePath' does not exist or is inaccessible'

I can run this through my browser and it all works and I have checked in Fiddler and the commands are basically identical except the browser call includes the empty parameters for SpatialReference (and of course f=html).

This is not a secure service

Is there something I need to be setting that I am missing?

Thanks
-Joe
Thanks,
-Joe
0 Kudos
1 Solution

Accepted Solutions
JoeHershman
MVP Alum
Upon closer review seems the calls are not the same, it looks like having a space in my Parameter Name causes an issue because the space was being replaced with a '_' by the GPString (which seems odd to me), which does not happen when called from a browser.  Changed the Parameter names to have no space and all is well
Thanks,
-Joe

View solution in original post

0 Kudos
1 Reply
JoeHershman
MVP Alum
Upon closer review seems the calls are not the same, it looks like having a space in my Parameter Name causes an issue because the space was being replaced with a '_' by the GPString (which seems odd to me), which does not happen when called from a browser.  Changed the Parameter names to have no space and all is well
Thanks,
-Joe
0 Kudos