I have an ArcMap Add-In that completes various geoprocessing steps, including Dissolve (using ESRI.ArcGIS.DataManagementTools.Dissolve). This tool worked at 10.0, but I just upgraded to 10.1 SP1 and it no longer works. I have run the tool on the same feature class in 10.0 and 10.1 and it worked in 10.0 but does not work in 10.1 SP1.
I'm attempting to dissolve on 2 fields, single part, in case that's relevant.
I can still complete the dissolve manually inside of ArcMap, but every time I try to run it programmatically, it crashes with the ever-helpful "Error HRESULT E_FAIL has been returned from a call to a COM component."
Upgrading to 10.2 is not an option because the rest of my organization won't be upgrading to 10.2 for at least another year.
Has anyone else encountered this? Any suggestions on how to solve this problem? Knowledge of something that changed at 10.1 that would require some extra conditions in order for dissolve to run correctly...?