<?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 Has anyone seen this error: Creating an instance of the COM component with CLSID {E1740EC5-9513-11D2-A2DF-0000F8774FB5} from the IClassFactory failed due to the following error: 8000ffff. in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/has-anyone-seen-this-error-creating-an-instance-of/m-p/629792#M16968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using arc gis 10.2.1. &amp;nbsp;I have a console application to create point features in a versioned SDE geodatabase. &amp;nbsp;When I try to call .Store on a new point feature I get an exception:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creating an instance of the COM component with CLSID {E1740EC5-9513-11D2-A2DF-0000F8774FB5} from the IClassFactory failed due to the following error: 8000ffff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can create a new point feature in a point feature class in the same dataset without error. &amp;nbsp;The code below shows 2 points getting created. &amp;nbsp;The first one works, the second throws. &amp;nbsp;From arc catalog the two point feature classes appear the same. &amp;nbsp;They are both versioned, since they're in the same dataset. &amp;nbsp;They have the same spatial reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_workspaceEdit.StartEditing(false);&lt;BR /&gt;_workspaceEdit.StartEditOperation();&lt;/P&gt;&lt;P&gt;IPoint newPtLoc = new Point();&lt;BR /&gt;newPtLoc.PutCoords(2e6, 6e6);&lt;/P&gt;&lt;P&gt;IFeatureClass testPtFC = _featureWorkspace.OpenFeatureClass("ARCFM.testPt");&lt;BR /&gt;IFeature newtestPt = testPtFC.CreateFeature();&lt;BR /&gt;newtestPt.set_Value(newtestPt.Fields.FindField("SUBTYPECD"), 1);&lt;BR /&gt;newtestPt.Shape = newPtLoc;&lt;BR /&gt;newtestPt.Store();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IFeatureClass poleFC = _featureWorkspace.OpenFeatureClass("ARCFM.POLE");&lt;BR /&gt;IFeature newPole = poleFC.CreateFeature();&lt;BR /&gt;newPole.set_Value(newtestPt.Fields.FindField("SUBTYPECD"), 1);&lt;BR /&gt;newPole.Shape = newPtLoc;&lt;BR /&gt;newPole.Store(); &amp;nbsp; // this .Store throws the exception shown above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 23:33:14 GMT</pubDate>
    <dc:creator>TheodoreRakel</dc:creator>
    <dc:date>2016-09-02T23:33:14Z</dc:date>
    <item>
      <title>Has anyone seen this error: Creating an instance of the COM component with CLSID {E1740EC5-9513-11D2-A2DF-0000F8774FB5} from the IClassFactory failed due to the following error: 8000ffff.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/has-anyone-seen-this-error-creating-an-instance-of/m-p/629792#M16968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using arc gis 10.2.1. &amp;nbsp;I have a console application to create point features in a versioned SDE geodatabase. &amp;nbsp;When I try to call .Store on a new point feature I get an exception:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creating an instance of the COM component with CLSID {E1740EC5-9513-11D2-A2DF-0000F8774FB5} from the IClassFactory failed due to the following error: 8000ffff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can create a new point feature in a point feature class in the same dataset without error. &amp;nbsp;The code below shows 2 points getting created. &amp;nbsp;The first one works, the second throws. &amp;nbsp;From arc catalog the two point feature classes appear the same. &amp;nbsp;They are both versioned, since they're in the same dataset. &amp;nbsp;They have the same spatial reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_workspaceEdit.StartEditing(false);&lt;BR /&gt;_workspaceEdit.StartEditOperation();&lt;/P&gt;&lt;P&gt;IPoint newPtLoc = new Point();&lt;BR /&gt;newPtLoc.PutCoords(2e6, 6e6);&lt;/P&gt;&lt;P&gt;IFeatureClass testPtFC = _featureWorkspace.OpenFeatureClass("ARCFM.testPt");&lt;BR /&gt;IFeature newtestPt = testPtFC.CreateFeature();&lt;BR /&gt;newtestPt.set_Value(newtestPt.Fields.FindField("SUBTYPECD"), 1);&lt;BR /&gt;newtestPt.Shape = newPtLoc;&lt;BR /&gt;newtestPt.Store();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IFeatureClass poleFC = _featureWorkspace.OpenFeatureClass("ARCFM.POLE");&lt;BR /&gt;IFeature newPole = poleFC.CreateFeature();&lt;BR /&gt;newPole.set_Value(newtestPt.Fields.FindField("SUBTYPECD"), 1);&lt;BR /&gt;newPole.Shape = newPtLoc;&lt;BR /&gt;newPole.Store(); &amp;nbsp; // this .Store throws the exception shown above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 23:33:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/has-anyone-seen-this-error-creating-an-instance-of/m-p/629792#M16968</guid>
      <dc:creator>TheodoreRakel</dc:creator>
      <dc:date>2016-09-02T23:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone seen this error: Creating an instance of the COM component with CLSID {E1740EC5-9513-11D2-A2DF-0000F8774FB5} from the IClassFactory failed due to the following error: 8000ffff.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/has-anyone-seen-this-error-creating-an-instance-of/m-p/629793#M16969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an observation, I've never seen the notation you have used to create a point geometry&lt;/P&gt;&lt;PRE class="line-numbers language-csharp"&gt;&lt;CODE&gt;newPtLoc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;PutCoords&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;2e6&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 6e6&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Normally it would be something like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="line-numbers language-csharp"&gt;&lt;CODE&gt;newPtLoc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;PutCoords&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2000000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;6000000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be that is the source of your problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/has-anyone-seen-this-error-creating-an-instance-of/m-p/629793#M16969</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2016-09-07T15:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone seen this error: Creating an instance of the COM component with CLSID {E1740EC5-9513-11D2-A2DF-0000F8774FB5} from the IClassFactory failed due to the following error: 8000ffff.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/has-anyone-seen-this-error-creating-an-instance-of/m-p/629794#M16970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Duncan.&amp;nbsp; It turns out that the problem comes from the feature I was trying to create.&amp;nbsp; It's an Arc&amp;nbsp;FM feature and has an auto updater assigned to it that fires on create.&amp;nbsp; The auto updater was causing the problem.&amp;nbsp; Arc FM is a product from Schneider that sits on top of Arc GIS.&amp;nbsp; The solution was to turn auto updaters off before creating the feature.&amp;nbsp; Now it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/has-anyone-seen-this-error-creating-an-instance-of/m-p/629794#M16970</guid>
      <dc:creator>TheodoreRakel</dc:creator>
      <dc:date>2016-09-07T15:55:29Z</dc:date>
    </item>
  </channel>
</rss>

