ArcMap 10.3.1 is giving us an error of "Unable to save edits. FDO error: -2147154947". This is not contained in the ESRI list of FDO errors: http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/fdoError.htm
Here is some more information about our environment and under what circumstances the error occurs:
Once a user receives this error, they will continue to receive this error on every subsequent attempt to Save Edits. The only way we know to fix the problem is to restart ArcMap and lose all edits since the last save. The database we are using is an ArcGIS 10.3.1 enterprise multi-user geodatabase hosted on MS SQL Server 2012. The client software we are using to access the database is ArcMap 10.3.1. There are multiple versions in the database, and each version is being edited by a single user. We can have as many 16 users editing different versions simultaneously. Users will typically save edits every 15-20 minutes, and then reconcile and post their edits a couple times a day. Archiving is enabled on the GDB feature classes, as well as editor tracking. We have determined that this error number is probably an HRESULT, but we are unable to find any documentation from Esri or Microsoft for this particular error.
What is the specific meaning of this error code and message. In other words, what specifically is preventing ArcMap from saving the edits?
The error happened again and this time we were able to retrieve the SDE log file from the client machine. I have substituted "client_machine_name", "database_name" and "feature_class_name" for the actual values for clarity.
[Fri Feb 24 13:57:07 2017]  [client_machine_name] DB_registered_table_trim_state (database_name.DBO.feature_class_name,38063) Execute Immediate error (-1021).
[Fri Feb 24 13:57:07 2017]  [client_machine_name] Error when updating kept rows in geometry table.
[Fri Feb 24 13:57:07 2017]  [client_machine_name] Warning: Unable to trim state 38056->38063 for table database_name.DBO.feature_class_name, error = -1021