I am trying to use the print service in an application that has secure services and I get errors. I have used the same print service to print non secure services without any problems. What needs to be done to allow the secure services to be printed? This is the error I am receiving.
Unable to connect to map server at http://<servername>/arcgis/rest/services/<service>/MapServer?token=<tokenval>
I have the same issue. ESRI logged it as a bug. The workaround I am using now is to turn secured layers off then convert all features in current extent into graphics. It will print but doesn't respect text symbol color and rotations. Hope this help. Aimin
and I can print from our webapp if I turn off security, but if it is turned on, I get the error as mentioned in the original post. I'm thinking of controlling access from our web server or firewall so that I can turn off security for internal users, which would be fine for us in this case.
Are you still getting the same error in your AGS logs? If the URL that it is unable to get to still mentions a token (like it did in your first post), then you are not stripping the token out in your request. If the error is different then we can go from there.