Select to view content in your preferred language

Staging a service, Editor Tracking causing issue as feature class is set to database time

436
0
05-05-2019 10:18 PM
BenVan_Kesteren1
Deactivated User

Hey, 

For years I have been using ArcMap to successfully publish map services to our gisserver, and as a large portion of my map layers have database tracking applied, as database time and not UTC, I have come to learn I need to uncheck the editor tracking fields prior to publishing a web map, in order for it to successfully publish.

This above technique worked no worries. It would stop ArcMap from complaining about timezone issues.

Now I am trying to apply my work flows to ArcPro using arcpy, I am getting this error when Staging the Service:

arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
Editor Tracking is in database time zone and Date Field Time Reference is not set for the service.
Failed to execute (StageService).‍‍‍

This is thrown when executing these lines:

sd_filename = service + ".sd"
sd_output_filename = os.path.join(outdir, sd_filename)
arcpy.StageService_server(sddraft_output_filename, sd_output_filename)‍‍‍‍

My initial thought was that I just need to try to find the feature layer and uncheck the editor tracking fields, so this is what I come up with:

This has had no luck as I am still getting the aforementioned error.

So in summary, has anyone overcome this error in ArcGis Pro?

arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
Editor Tracking is in database time zone and Date Field Time Reference is not set for the service.
Failed to execute (StageService).‍‍‍‍‍‍
0 Kudos
0 Replies