Select to view content in your preferred language

Dynamic map service not updating

4805
12
Jump to solution
07-19-2013 11:16 AM
MatthewLofgren
Occasional Contributor
I have a dynamic read only map service, using a file geodatabase local to the server, that wont update unless I restart the service--which I would like to avoid.
Every 5 minutes data is pushed into a file geodatabase and I'm hoping there's a way to have the map service reflect this without a restart.

Schema locking is disabled on the service.
I have tried clearing the rest cache.
I have registered the folder (data store) in server manager. Although, every time I open the data store page the status on all data stores is a question mark. I can click analyze and they all pass, but next time it is back to question marks.
Tags (2)
0 Kudos
12 Replies
MatthewLofgren
Occasional Contributor
That makes sense. I will try a truncate and append on Monday.
Thanks so much for your help!
0 Kudos
KevinBell
Occasional Contributor III
That makes sense. I will try a truncate and append on Monday.
Thanks so much for your help!


I don't know that it matters, but I'm arcpy.deleteRows and then using an insert cursor to put in the new rows.  I don't know how it'd work to use arcpy.copyRows...
0 Kudos
MatthewLofgren
Occasional Contributor
That was it! It works now. Thank you Kevin!
0 Kudos