Export Web Map fails after running properly for sometime and needs restart to work again

4567
2
12-29-2014 02:00 AM
ZeeshanAhmad2
New Contributor

We have published the default Export Web Map tool as GP Service and embedded the user credebtials to our secured services in it. The printing service works properly but sometimes it starts failing all the print jobs with following message in the log.

Error executing tool.: Layer "<some secured layer>": Unable to connect to map server at <map service url>. ERROR: code:403, User does not have permissions to access '<map server address>'., Access to this resource is forbidden, regardless of authorization. Failed to execute (ExportWebMap). Failed to execute (Export Web Map).

I have tried going through logs but couldn't find anything suspicious which could lead to this error. After this condition, if you restart the printing service, it starts working normally.

Does anyone have any clue about what could be going wrong. Appreciate your help.

0 Kudos
2 Replies
KousikM
New Contributor III

Can you tell me that how to you embedded the user credentials to your secured service? Are you create custom Print Service?

0 Kudos
KousikM
New Contributor III

You need to create GIS server tier authentication. Check this URL, you will get solution.

0 Kudos