<?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 Re: COMException: Exception from HRESULT: 0x80040304 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/comexception-exception-from-hresult-0x80040304/m-p/1241252#M26639</link>
    <description>&lt;P&gt;This error maps to one of the following:&lt;/P&gt;&lt;TABLE width="685px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;FDO_E_DATASET_CANNOT_RENAME&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"Cannot rename the dataset with objects already open."&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;CADASTRAL_E_CONTAINS_COMPRESSEDDATA&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"No license available."&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;WMSCONN_E_MISSING_URL&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"URL is missing."&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;NETWORKLOADER_E_INVALID_FIELD_NAME&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"An invalid field name was specified."&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;E_TEMPMETAFILE&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"Cannot create temporary metafile."&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2022 18:29:02 GMT</pubDate>
    <dc:creator>RussellBrennan</dc:creator>
    <dc:date>2022-12-14T18:29:02Z</dc:date>
    <item>
      <title>COMException: Exception from HRESULT: 0x80040304</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/comexception-exception-from-hresult-0x80040304/m-p/1217600#M26494</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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AGheidian_1-1664483488904.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52569iA89835E892EB6A5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="AGheidian_1-1664483488904.png" alt="AGheidian_1-1664483488904.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;AGheidian_1-1664483488904.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone has any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 21:01:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/comexception-exception-from-hresult-0x80040304/m-p/1217600#M26494</guid>
      <dc:creator>AGheidian</dc:creator>
      <dc:date>2022-09-29T21:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: COMException: Exception from HRESULT: 0x80040304</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/comexception-exception-from-hresult-0x80040304/m-p/1241252#M26639</link>
      <description>&lt;P&gt;This error maps to one of the following:&lt;/P&gt;&lt;TABLE width="685px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;FDO_E_DATASET_CANNOT_RENAME&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"Cannot rename the dataset with objects already open."&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;CADASTRAL_E_CONTAINS_COMPRESSEDDATA&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"No license available."&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;WMSCONN_E_MISSING_URL&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"URL is missing."&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;NETWORKLOADER_E_INVALID_FIELD_NAME&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"An invalid field name was specified."&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="376.7px"&gt;&amp;nbsp;E_TEMPMETAFILE&lt;/TD&gt;&lt;TD width="222.3px"&gt;&amp;nbsp;"Cannot create temporary metafile."&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 18:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/comexception-exception-from-hresult-0x80040304/m-p/1241252#M26639</guid>
      <dc:creator>RussellBrennan</dc:creator>
      <dc:date>2022-12-14T18:29:02Z</dc:date>
    </item>
  </channel>
</rss>

