Hi Tom,
Everything works fine now.
but i receive e error when the pdf is to be open in the navigator.
It is the
Server Error
500 - Internal server error.
The pdf is well generate in the arcgisoutput and readable on the server but not throw IE 😞
any idea??
Thanks a lot
David
Tom,The URL gived by the JSON url isoutputFile: http://swarcgis001/arcgisoutput/PrintTask_layout_1302766588558_layout.pdfand it is the good location for the pdfWhen i put it in a browser i obtain the error 500....I work on windowswith arcgisserver .NETthe URL's arehttp://swarcgis001/ArcGIS/rest/services/layout/MapServer/exts/PCHPrintSOE/printLayout?mapExtent={"xmin":145475,"ymin":165195.4174075015,"xmax":155475,"ymax":179545.4174075015,"spatialReference":{"wkt":"PROJCS[\"Belge_Lambert_1972\",GEOGCS[\"GCS_Belge_1972\",DATUM[\"D_Belge_1972\",SPHEROID[\"International_1924\",6378388.0,297.0]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_Conic\"],PARAMETER[\"False_Easting\",150000.01256],PARAMETER[\"False_Northing\",5400088.4378],PARAMETER[\"Central_Meridian\",4.367486666666666],PARAMETER[\"Standard_Parallel_1\",49.8333339],PARAMETER[\"Standard_Parallel_2\",51.16666733333333],PARAMETER[\"Latitude_Of_Origin\",90.0],UNIT[\"Meter\",1.0]]"}}&printOutput={"toRemoveLayoutElements":["*"],"exportSettings":null,"mapRotation":0,"pageUnits":8,"resolution":100,"height":29.7,"borderWidth":[0.5,0.5,0.5,0.5],"width":21,"format":"pdf"}&mapElements=[]&layoutElements=[{"visible":true,"name":"myScaleBar","anchor":"bottomright","geometry":{"x":20.5,"y":0.5},"symbol":{"type":"pchScaleBar","barHeight":5}},{"visible":true,"name":"myScaleText","anchor":"topmid","geometry":{"x":10.5,"y":29.2},"symbol":{"type":"pchScaleText","separator":" : ","pageUnits":9,"backgroundColor":{"blue":255,"green":255,"alpha":255,"red":255},"mapUnits":8,"mapUnitLabel":"","pageUnitLabel":"","numberFormat":{"roundingOption":0,"roundingValue":3},"style":0}},{"visible":true,"name":"myLegend","anchor":"bottomleft","geometry":{"x":0.5,"y":0.5},"symbol":{"type":"pchLegend","showHeadings":false,"showLabels":true,"showLayerNames":true,"exceptionLayerNames":["ortho2010_white","Orthophotos2007","Orthophotos2004","Orthophotos2001","topo_100k","topo_050k","topo_020k","topo_005k"],"includeAllLayers":true,"legendColumns":1,"legendTitle":"Legend","legendBackground":{"type":"esriSFS","outline":null,"style":"esriSFSSolid","color":{"blue":255,"green":255,"alpha":255,"red":255}}}},{"visible":true,"name":"myLegend","anchor":"topright","geometry":{"x":20.5,"y":29.2},"symbol":{"type":"pchPictureEl
AND
http://swarcgis001/arcgisoutput/PrintTask_layout_1302766588558_layout.pdf