Select to view content in your preferred language

Print task does not work if servicesDirectory is disabled

678
2
07-29-2013 02:29 AM
MiriEshel
Esri Contributor
Hi,

I'm using the PrintTask in my SilverLight application. When I disable the servicesDirectory, the printTask returns error 403 : "Services Directory has been disabled". In Fiddler, it looks like it tries to get to arcgisjobs but because it is disabled, it returns an error.
I thought to use https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer but I have my own template for printing.
I want the servicesDirectory to stay disabled for security reasons but I want the printTask as well.

It's easy to reproduce, simple disable the servicesDirectory with http://server_name/arcgis/rest/admin, uncheck Services Directory Enabled checkbox and try to print something from that ArcGIS Server.

Any idea will be very helpful!

Thanks a lot,
Miri Eshel
0 Kudos
2 Replies
BillLotz
Frequent Contributor
Any fix for this?
0 Kudos
MiriEshel
Esri Contributor
Any fix for this?


It is solved in 10.2. There is no fix for it in 10.1

Miri
0 Kudos