Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database.

The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ArcGis Server. When the user data has been added to this Raster Dataset, the data is not updated on ArcGis Service.

How update service on the ArcGis Server from my Windows Service? (I know IP address, password, and service name)

share|improve this question
    
Welcome to SE.GIS forum. Which ArcGIS Server version you are using? (9.x or 10.x). Please check similar question gis.stackexchange.com/questions/27873/… –  Sunil Aug 21 '13 at 6:43
    
thanks, but I had already read this question. I think the most usefull code here is: IPropertySet recycle = pConfiguration.RecycleProperties; recycle.SetProperty("StartTime", "1:00 AM"); recycle.SetProperty("Interval", "86400"); Is it refresh service every 86400 ms? But I'd like refresh service whenever I want. –  novicegis Aug 21 '13 at 7:53
    
We use one arcgis server 10.1 and two arcmap 10.1 –  novicegis Aug 21 '13 at 7:55
    
I think you can write 1. ArcPy script to update raster data 2. Refresh ArcSDE though python and then overwrite that map service. I hope it will get an idea for you + check my similar question gis.stackexchange.com/questions/61057/… –  Sunil Aug 21 '13 at 8:27
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.