AnsweredAssumed Answered

Secure services - printing - 4 years on and still no luck

Question asked by amarsden on Dec 17, 2015
Latest reply on Dec 18, 2015 by amarsden

Every few years I make an attempt to lock my services down, every few years I fail.

 

I go round in the same circles, but do make a little progress each time.

 

I've now go most things working.  The Proxy page passes through a user name and password for the services.  this even works for my loop which gets extra stuff using an esri.request.

 

The bit that fails now is Printing.

 

I've followed ArcGIS Help (10.2, 10.2.1, and 10.2.2)  but now get

 

Error: Unable to complete operation.

 

If I take the URL that I see in Fiddler, it is something like

 

http://My Domain for the applciation/proxy/proxy.ashx?http://My ArcGIS Server server/arcgis/rest/services/ExportWebMap2/GPServer/Export%20Web%20Map/execut…

 

It seems to work - I get

 

 

{ "results": [{ "paramName": "Output_File", "dataType": "GPDataFile", "value": {"url": ""} }], "messages": [] }

 

If I set the Print Service to asynchronous I get similar issues to her http://stackoverflow.com/questions/12431283/esri-javascript-asynchronous-print  - but I'm not sure how to tweak the printTask.execute for aync

 

Any help much appreciated - this is one of my tasks I am trying to use to fill in time before the holidays.


Cheers

 

 


ACM

Outcomes