Select to view content in your preferred language

Broken links to Feature Service in ArcMap when enabling security in ArcGIS Server

2159
2
12-18-2013 01:09 AM
josesanchez1
Regular Contributor
Hi all,

I am using layers linked to a Feature Service stored in ArcGIS.

When the map service (Feature Service) is not protected, layers can successfully connect to the Server and display the information.

If I set role, username and password for the feature service, Arcmap does not prompt for any username and password and the layer links appear broken.

In the other hand, if I add the feature services AFTER having set the username and password in the GIS server, then save and when I open the map again, although I am prompted by Arcmap to enter username and password, the broken links appear, so I don't know what to do.

Any suggestions?

Regards,

Jose.
Tags (2)
0 Kudos
2 Replies
NidhinKarthikeyan
Honored Contributor
Check the 'Save user name and password' checkbox in Database Connection properties before publishing the service.
0 Kudos
josesanchez1
Regular Contributor
Thanks for the reply,

OK, if the request of username and password is unchecked in the Database Connection properties, Arcmap always will prompt for that information, and viceversa, is it that correct? I can understand that, but anyway, doing it or not, in my case does not affect as all my links remain broken.

What I did, if this helps, was importing into an empty Arcmap document a feature service (with both mapping and feature access capabilities ON) stored in ArcGIS and with several feature classes. Then, if you can visualize the context when adding a feature service into the table of contents, all geometries appear below a group folder structure named as the map service.

I changed that structure and re-located the layers in my TOC. Then, saved. Now, if I open the mxd file connections broken....

I am asking for solutions but I presume you cannot change the given structure of the feature service once is added to the TOC. Is that correct?

Jose.
0 Kudos