Select to view content in your preferred language

Can't print secured services with FlexViewer 3.0 print widget

3190
12
08-20-2012 02:28 PM
KellieVlastos
New Contributor
I am unable to print my secured services with FlexViewer 3.0 print widget.  Once I try to click print I get the error message:

Error executing print task:

[RPC Fault faultString="Unable to complete operation." faultCode="400" faultDetail="Error executing tool.: Layer "Crude": Unable to connect to map server at http://159.238.133.6/wpaarcgis/rest/services/Crude/MapServer?token=R73QSw9y-5RiLKTZ1dkJ5NX7nX6NEbrh6......
Failed to execute (Export Web Map).
Failed to execute (Export Web Map Task)."]

I initially had problems getting the print widget to work until I used my IP address to reference it.  The print widget did not like my domain name.  All works well with any of my un-secured services. 

Thanks in advance for any help or insight,

Kellie V.
Tags (2)
0 Kudos
12 Replies
DasaPaddock
Esri Regular Contributor
This is the kind of problem I'm referring to:
http://forums.arcgis.com/threads/62538-Error-when-using-print-service-on-dynamic-layer?p=221720&view...

If the print task and map services are on the same GIS server, the server is still making a HTTP request to the url in the web map json, so it's acting as a client to itself.
0 Kudos
ZacharyHart
Honored Contributor
This is the kind of problem I'm referring to:
http://forums.arcgis.com/threads/62538-Error-when-using-print-service-on-dynamic-layer?p=221720&view...

If the print task and map services are on the same GIS server, the server is still making a HTTP request to the url in the web map json, so it's acting as a client to itself.



For what its worth...the actual export service works at REST. However, i'm not completely sure i understand the fix described at the end of that thread....at least not without an example....

My server's IP address and name is already listed in the hosts file....
0 Kudos
DasaPaddock
Esri Regular Contributor
A good test would be to use HttpFox to get the URL from the error response and copy and paste that into a browser that's running on your ArcGIS server.
0 Kudos