Hi Ravin,
It should all work. I have a document with explicit details, I cant post it, but can provide snippets and direction.
Summary:
Create a custom Geoprocessing Print service which holds Preconfigured secure connections which are set using a User name that has access to ALL Secure Services to allow secure services print through using Windows Authentication / Web-Tier
In IIS - WIndows Authentication enabled on the ArcGIS Server Web Adaptor.
Have Web-Tier authentication enabled on ArcGIS Server (using manager or admin)
- Create a new Toolbox under My Toolboxes using ArcCatalog
- Copy Export Web Map GP Tool from System Toolbox >> Server Tools >> Printing TO the newly created toolbox.
- Create new AGS Connection
This connection will be a User that will have access to ALL ArcGIS Server Services that are locked.
This connection MUST be a USER type connection with ArcGIS Server
4. Name the AGS Connection Appropriately
5. Right t click on new GP >> Edit
6. Add the newly created AGS Connection File
7. Validate the URL and AGS Connection
8. Repeat steps for multiple servers (in this case, I do only 1 as we have traffic go through a NLB)
9. Open an ArcMap Session and Add the custom toolbox
10. Add some data to the mapdoc (which the server has visibility to - registered)
11. Double click the custom Print GP
12. Double click the custom Print GP
13. In the results dialog, right click on the successful print and share as >> Geoprocessing service
14. Publish the service
15. name the service
16. Configure the custom GP Service in the service editor
(e.g. Asynchronous execution mode) custom templates etc...
17.Analyze
18. Publish
When you create the custom Geoprocessor, the connection used MUST be a USER type connection with ArcGIS Server, not Publisher or Admin. Please ensure this.