Select to view content in your preferred language

The changes on the mxd file are not reflected on its published service,

5972
14
Jump to solution
12-22-2012 12:26 AM
JamalNUMAN
Legendary Contributor
The changes on the mxd file are not reflected in its published service,

The mxd file is shared as service as shown in the screenshot below:

[ATTACH=CONFIG]20149[/ATTACH]

After that, some changes took place on the mxd file. Those changes are not automatically reflected on its service. How to update the service so that all the changes on the original mxd file are reflected on the published version?

[ATTACH=CONFIG]20150[/ATTACH], [ATTACH=CONFIG]20151[/ATTACH]


Thank you for the answer


Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
1 Solution

Accepted Solutions
RichardWatson
Deactivated User
That is my understanding.

View solution in original post

0 Kudos
14 Replies
RichardWatson
Deactivated User
Simply updating the mxd will not update the service.

I believe that you have to literally overwrite the service, i.e. republish it.

Here is a related discussion:

http://forums.arcgis.com/threads/73931-Problem-updating-a-service-created-from-an-.msd
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Simply updating the mxd will not update the service.

I believe that you have to literally overwrite the service, i.e. republish it.

Here is a related discussion:

http://forums.arcgis.com/threads/73931-Problem-updating-a-service-created-from-an-.msd


Thank you Richard for the help.

Sounds that overwriting is not possible neither.

[ATTACH=CONFIG]20153[/ATTACH], [ATTACH=CONFIG]20154[/ATTACH]

Do I need to delete the previously created service? And how does this affect the one saved before?
Does the �??ArcGIS Server manager�?� and the �??ArcGIS viewer for flex�?� understands this and thus I don�??t need to start from scratch in designing the web application?

[ATTACH=CONFIG]20155[/ATTACH]


Best

Jamal
0 Kudos
AnthonyGiles
Honored Contributor
Jamal,

In order for your changes to be reflected in your service you need to refresh/restart your service after you have saved your mxd. For these changes to also make there way to your flex application you also need to clear your arcgis rest cache.

Changes in the service should not effect your application unless you have reordered some of your layers, or added new layers or removed layers in your mxd. If so any of your widgets that are configured against particular layer numbers ( I.e. your search widget) may need changing.

Regards

Anthony
0 Kudos
by Anonymous User
Not applicable
Original User: rlwatson

Here is the help article which discusses this:

http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000297000000

I don't have access to ArcMap at the moment so I can't send you a screen shot.  I have seen the overwrite before.
You might check the ArcMap (not ArcCatalog) File menu.
0 Kudos
KenBuja
MVP Esteemed Contributor
As Anthony mentioned, you'll just have to restart your service after saving the mxd, not trying to re-publish the service with the same name. In addition, you might have to login to the REST Admin if you're not using ArcGIS 10.1 yet (http://yourmapservice/ArcGIS/rest/admin) and clear the cache. See here for more information.
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

As Anthony mentioned, you'll just have to restart your service after saving the mxd, not trying to re-publish the service with the same name. In addition, you might have to login to the REST Admin if you're not using ArcGIS 10.1 yet (http://yourmapservice/ArcGIS/rest/admin) and clear the cache. See here for more information.


Thank you guys for the help.

I couldn�??t know how to clear the cashe!

I tried to access the link below
http://localhost:6080/admin/system/handlers/rest/cache/clear
but nothing come up!

[ATTACH=CONFIG]20249[/ATTACH]

Also accessing the �??ArcGIS REST Services Directory�?� doesn�??t require any credentials (usernsme/password) as the �??ArcGIS Server Manager�?� does.

[ATTACH=CONFIG]20250[/ATTACH]



However, the �??overwrite an existing service�?� option is a satisfactory alternative to reflect the changes of the mxd on its service

[ATTACH=CONFIG]20251[/ATTACH]
Best

Jamal


Best

Jamal
0 Kudos
RichardWatson
Deactivated User
Jamal,

You are using 10.1 and I don't believe that you need to clear the cache.
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Jamal,

You are using 10.1 and I don't believe that you need to clear the cache.


Many thanks Richard.

Then the most efficient option to transfer the changes in the mxd to its msd (service) is to use the �??overwrite an existing service�?�. Is that correct?

Best

Jamal
0 Kudos
RichardWatson
Deactivated User
That is my understanding.
0 Kudos