<?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 Error HRESULT E_FAIL has been returned from a call to a COM component ... in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169723#M4371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on an ArcObjects tool (for Desktop application) that was before for V9.3, but failed in V10.0.&amp;nbsp; I received such an error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error HRESULT E_FAIL has been returned from a call to a COM component.&amp;nbsp; ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mFeatCur = mFeatClass.Update(mQFeatures, false); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where&amp;nbsp;&amp;nbsp; mFeatClass is an IFeatureClass, mFeatCur&amp;nbsp; is&amp;nbsp; an&amp;nbsp; IFeatureCursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the references and found nothing is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have any idea for this issue, please share.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2012 11:04:04 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2012-03-12T11:04:04Z</dc:date>
    <item>
      <title>Error HRESULT E_FAIL has been returned from a call to a COM component ...</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169723#M4371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on an ArcObjects tool (for Desktop application) that was before for V9.3, but failed in V10.0.&amp;nbsp; I received such an error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error HRESULT E_FAIL has been returned from a call to a COM component.&amp;nbsp; ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mFeatCur = mFeatClass.Update(mQFeatures, false); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where&amp;nbsp;&amp;nbsp; mFeatClass is an IFeatureClass, mFeatCur&amp;nbsp; is&amp;nbsp; an&amp;nbsp; IFeatureCursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the references and found nothing is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have any idea for this issue, please share.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 11:04:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169723#M4371</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-03-12T11:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error HRESULT E_FAIL has been returned from a call to a COM component ...</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169724#M4372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is most likely the query filter you're passing into the Update method.&amp;nbsp; Make sure the SQL syntax is correct, that everything is spelled correctly and that any fields you're naming exist in the feature class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 12:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169724#M4372</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-03-12T12:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error HRESULT E_FAIL has been returned from a call to a COM component ...</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169725#M4373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The query filter is correct:&amp;nbsp; myQFeatures.WhereClause = "RIP_CYCLE = '3'".&amp;nbsp; I checked by running the definition-query in the mxd.&amp;nbsp; I was told that this program used to work in V9.3.&amp;nbsp; But it failed in V10.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 16:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169725#M4373</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-03-12T16:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error HRESULT E_FAIL has been returned from a call to a COM component ...</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169726#M4374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If the query is correct then it might be something else related to the data because there's nothing wrong with the code you posted as far as I can see.&amp;nbsp; Could it be a permissions issue?&amp;nbsp; Your code is getting an Update cursor so is an edit session necessary for the type of data you're going to be editing?&amp;nbsp; Does the feature class participate in a network, topology or something like that?&amp;nbsp; Can you start an edit session on this feature class in ArcMap?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 17:35:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169726#M4374</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-03-12T17:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error HRESULT E_FAIL has been returned from a call to a COM component ...</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169727#M4375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I loaded some shapefiles.&amp;nbsp; They are editable as tried in ArcMap by start and stop editing.&amp;nbsp; The shapefile's time-stamp changes after my editing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Neither network nor topology is involved.&amp;nbsp; Really don't know what heppens.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 17:49:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169727#M4375</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-03-12T17:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error HRESULT E_FAIL has been returned from a call to a COM component ...</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169728#M4376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;E-FAIL is a very generic error.&amp;nbsp; get the comexception error code and look it up in the below link. I hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://edndoc.esri.com/arcobjects/9.1/ComponentHelp/esriGeoDatabase/fdoError.htm"&gt;http://edndoc.esri.com/arcobjects/9.1/ComponentHelp/esriGeoDatabase/fdoError.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 13:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169728#M4376</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-03-13T13:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error HRESULT E_FAIL has been returned from a call to a COM component ...</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169729#M4377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just an idea (without seeing the whole code) but with the cursor have you set &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;SubFields&lt;/SPAN&gt;&lt;SPAN&gt; property and not included "RIP_CYCLE" by mistake?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 15:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169729#M4377</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2012-03-13T15:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error HRESULT E_FAIL has been returned from a call to a COM component ...</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169730#M4378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved.&amp;nbsp; It is due to the query WhereClause format.&amp;nbsp; The value of the field should be integer.&amp;nbsp; I changed&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mQFeatures.WhereClause = string.Format("{0} = '{1}'", ripCycleColField, currCycle);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mQFeatures.WhereClause = string.Format("{0} = {1}", ripCycleColField, currCycle);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, it works.&amp;nbsp; Thanks to those who spent time to view and reply my post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 13:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-hresult-e-fail-has-been-returned-from-a-call/m-p/169730#M4378</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-03-15T13:23:09Z</dc:date>
    </item>
  </channel>
</rss>

