<?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: FeatureClassName error in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/featureclassname-error/m-p/126451#M3317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this preventing you from doing something you're trying to do or are you just curious as to why you're seeing this?&amp;nbsp; It's normal for the debugger to encounter errors when attempting to display information about properties that have not been initialized.&amp;nbsp; For example, if you create a new IPoint object and look at its properties, you'll see exceptions are thrown for properties such as M, X, Y and Z.&amp;nbsp; However, after you set the coordinates for the new point (i.e. call PutCoords), these properties then will display actual values.&amp;nbsp; Unless you're encountering some type of problem, I wouldn't worry about it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2012 14:58:31 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2012-12-06T14:58:31Z</dc:date>
    <item>
      <title>FeatureClassName error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/featureclassname-error/m-p/126450#M3316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using ArcObjects with .NET, and have ArcGIS Desktop 10 SP 4 installed.&amp;nbsp; In my code I have the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]IFeatureClassName outFeatureClassName = (IFeatureClassName)new FeatureClassName();[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I look at the outFeatureClassName object in debugging, the following exceptions have been thrown by objects in the class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]CanEditMetadata.Metadata&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InteropServices.COMException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CanEditMetadata.ModelName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InteropServices.COMException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NativeType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InteropServices.COMException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ObjectClassID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InteropServices.COMException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQLPrivileges&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvalidCastException[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A little more info on the SQLPrivileges error...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Unable to cast COM object of type 'ESRI.ArcGIS.Geodatabase.FeatureClassNameClass' to interface type 'ESRI.ArcGIS.Geodatabase.ISQLPrivilege'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{A867A185-C5CB-11D2-AAE2-00C04FA37849}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a known issue with this class?&amp;nbsp; Is there a way I can get around this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. I also tried "new FeatureClassNameClass()", instead of casting it, but got the same results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ruth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 14:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/featureclassname-error/m-p/126450#M3316</guid>
      <dc:creator>RuthLeBlanc</dc:creator>
      <dc:date>2012-12-06T14:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureClassName error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/featureclassname-error/m-p/126451#M3317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this preventing you from doing something you're trying to do or are you just curious as to why you're seeing this?&amp;nbsp; It's normal for the debugger to encounter errors when attempting to display information about properties that have not been initialized.&amp;nbsp; For example, if you create a new IPoint object and look at its properties, you'll see exceptions are thrown for properties such as M, X, Y and Z.&amp;nbsp; However, after you set the coordinates for the new point (i.e. call PutCoords), these properties then will display actual values.&amp;nbsp; Unless you're encountering some type of problem, I wouldn't worry about it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 14:58:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/featureclassname-error/m-p/126451#M3317</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-12-06T14:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureClassName error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/featureclassname-error/m-p/126452#M3318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Neil.&amp;nbsp; Good to know.&amp;nbsp; I thought it was a reason for an error I'm getting further in the code, but maybe not.&amp;nbsp; I'll look into it more now, with this new knowledge &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 16:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/featureclassname-error/m-p/126452#M3318</guid>
      <dc:creator>RuthLeBlanc</dc:creator>
      <dc:date>2012-12-06T16:18:47Z</dc:date>
    </item>
  </channel>
</rss>

