<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Geoprocessing tool COMException: Exception from HRESULT: 0x80040304 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-tool-comexception-exception-from/m-p/1217652#M20524</link>
    <description>&lt;P&gt;Hi, I have geoprocessing tool which opens a MXD template file to make PDF out of the map, using Export method.&lt;/P&gt;&lt;P&gt;Intermittently this tool throws error&amp;nbsp;&amp;nbsp;COMException: Exception from HRESULT: 0x80040304&lt;/P&gt;&lt;P&gt;I am releasing COM objects but still sometimes throws this error. This is snapshot of my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AGheidian_0-1664488068370.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52581iF419CB8AB52B2BE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="AGheidian_0-1664488068370.png" alt="AGheidian_0-1664488068370.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 21:48:19 GMT</pubDate>
    <dc:creator>AGheidian</dc:creator>
    <dc:date>2022-09-29T21:48:19Z</dc:date>
    <item>
      <title>Geoprocessing tool COMException: Exception from HRESULT: 0x80040304</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-tool-comexception-exception-from/m-p/1217652#M20524</link>
      <description>&lt;P&gt;Hi, I have geoprocessing tool which opens a MXD template file to make PDF out of the map, using Export method.&lt;/P&gt;&lt;P&gt;Intermittently this tool throws error&amp;nbsp;&amp;nbsp;COMException: Exception from HRESULT: 0x80040304&lt;/P&gt;&lt;P&gt;I am releasing COM objects but still sometimes throws this error. This is snapshot of my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AGheidian_0-1664488068370.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52581iF419CB8AB52B2BE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="AGheidian_0-1664488068370.png" alt="AGheidian_0-1664488068370.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 21:48:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-tool-comexception-exception-from/m-p/1217652#M20524</guid>
      <dc:creator>AGheidian</dc:creator>
      <dc:date>2022-09-29T21:48:19Z</dc:date>
    </item>
  </channel>
</rss>

