System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.

Discussion created by pr_gis on Mar 12, 2016
Latest reply on Jul 12, 2016 by HavardMoe



When I try to create a report with a grouped field from a table in ArcMAP, I receive the following error:


"System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component."

The table was generated in MS Excel and added to the data frame. When I open (i.e. link to) the original table in MS Access, I can create the desired report there without any problems. I can also create a report without any grouping in ArcMAP. I am using ArcGIS for Desktop (ArcMAP and have Microsoft.NET framework 4.6.1 installed.


What I tried so far:


  • I followed the advice in the thread to store relative pathnames to data sources in the Map Document Properties dialog
  • I found some hints online pointing to firewall settings. I completely disabled my firewall
  • I also found a hint to the Microsoft Distributed Transaction Coordinator (MSDTC) service in a Microsoft developer forum. The service was not running on my machine. I started it manually


None of these steps changed anything, the problem persists. Does anybody have a solution for this...?


Thank you in advance!