I am trying to run a geo processing task using Java Script API for Arcgis. I have created a simple buffer task, published using Arcgis server (synchronous) and used the same (almost) code as the view shed example "http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/geoprocessor/gp_viewshed.html" . The view shed runs fine, but it fails with my REST service with the following error. "Server Error - Object reference not set to an instance of an object. Code: 500" .
I have browsed a lot and did some changes with respect but nothing seems to work. Has anyone experienced this?
Any help in this regard would be highly appreciated.. thank you very much...
