Error: Invalid JSON when calling method:

662
0
07-20-2011 06:48 AM
ShaningYu
Frequent Contributor
I loaded ESRI's script gp_profile from http://help.arcgis.com/en/webapi/javascript/gmaps/samples/geoprocessor/gp_profile.html and then run it in my server with minor revision.  When running the program in my server, the routing path displays on the map correctly, but the Infobox for the Terrain File does not show up as ESRI's sample.  I run FireBug and to try to detect the error message.
The red message shows that
Post http://sampleserver2.arcgisonline.com/ArcGIS/rest/services/Elevation/ESRI_Elevation_World/GPServer/P.......  500 Internal Server error
Below there is the error message:
uncaught exception: [Exception... "'Error: Error: Invalid JSON' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/spy.js :: callPageHandler :: line 744" data: no]
Does anyone know how to fix it?  Thanks.
0 Kudos
0 Replies