I have created the print task code but its not exporting the map. I need to export map and then download for the user. I have added basemap, my custom rest services, some esri live feed rest services, some graphics on the map. I have tried my local server geoprocessing printtask, and the esri online printtask, but none of them returns the exported map url..
I have also used the proxy page for this and have tried without enabling the proxy but none way works.
I am pasting the javascript method for reference which is being called upon button click after the map loads. I have tried with the commented codes also.
function exportMap() { // var map1 = new esri.Map("map", // { slider: true, basemap: "streets", logo: false });
The fiddler showed the error that about the online esri basemap. The error was that: Unable to complete operation. Error executing tool.: Layer "layer0": Unable to connect to map server at http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task).