I have a script that I am trying to run on an Application server that has Server Manager installed. It only has Python Arcpy 64-bit installed on it. Everything runs fine on my local machine which is where I have been doing testing.
It seems the arcpy.da.Editor cannot be started when running on ArcGIS Server.
Here are the steps the script is suppose to do:
1. Set the workspace with a .sde file
2. Create the arcpy.da.Editor object
3. Start editing session
4. Use the arcpy.da.UpdateCursor to update a field
5. Stop the editing session
Nothing fancy, but getting the script to run on the server seems to be the issue.
Here is the error I get from the Python IDLE
Traceback (most recent call last):
File "D:\Scripts\incident_DEV.py", line 65, in <module>
edit = arcpy.da.Editor(dev_workspace) # Start an edit session
RuntimeError: cannot open workspace
Attached is the script I am trying to run.
Any thoughts are appreciated.