ERROR 999999: Underlying DBMS error Failed to execute, should report DBMS error.

Idea created by jari.siiskonenesri-fi-esridist Employee on Apr 27, 2014
    New
    Score60
    • 1_slootsky
    • rgrichards
    • tro
    • Michael-1138
    • rfairhur24
    • Kalmar_Licenser
    When running for example arcpy.AddSpatialIndex_management tool on Enterprise Geodatabase and it throws an underlaying DBMS Error, the error detail should be added after the top level message
    Runtime error  Traceback (most recent call last):   File "<string>", line 1, in <module>   File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 5241, in AddSpatialIndex     raise e ExecuteError: ERROR 999999: Error executing function. Underlying DBMS error Failed to execute (AddSpatialIndex).
    Or provide information how to get the underlaying DBMS error message.