We are using ARCGIS 9.3.1. The python script is trying to version a feature class using the method UnregisterAsVersioned_management .
The code line is below.
gp.UnregisterAsVersioned_management(ADDRESS_LOCATIONS_FC, "NO_KEEP_EDIT", "NO_COMPRESS_DEFAULT").
But the script is failing to execute at this step with the error message "The object cannot be edited using the current edit session mode".
Any help on this will be highly appreciated.
Thanks in advance