Hi,
I'm trying to troubleshoot some editing issues with a custom tool. When the following code runs, most of the time I get the "success" message, but occassionally get the error message. The error message that the EditOperation gives is pretty vague though. Is there another way to get more detailed info about why the error is happening??
if (editOperation.Execute() == true)
ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show(updatedFeatures.ToString() + " features updated.", "Fittings Tool - Update Complete");
else
ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show(editOperation.ErrorMessage.ToString() + "\n" + "\n" + "Please try again using the current selection. If the problem persists, let Brian know.", "Fittings Tool - ERROR");