<?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 System.Runtime.InteropServices.COMException handling in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/system-runtime-interopservices-comexception/m-p/1234434#M20540</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to get the feature class name from the shapefile.&lt;/P&gt;&lt;P&gt;But it throws,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;System.Runtime.InteropServices.COMException: 'Unspecified error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The element '{&lt;A href="http://schemas.microsoft.com/windows/2005/02/color/WcsCommonProfileTypes%7DText" target="_blank" rel="noopener nofollow noreferrer"&gt;http://schemas.microsoft.com/windows/2005/02/color/WcsCommonProfileTypes}Text&lt;/A&gt;' is used but not declared in the DTD/Schema.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can't find solution to resolve this.&lt;/P&gt;&lt;P&gt;I tried the ArcObjects SDK document code that I attached below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//00490000008m000000" target="_blank" rel="noopener"&gt;https://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//00490000008m000000&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching my code snippet and error message below.&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="ShanmugapriyaL1_0-1669194896628.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56679iCDD7710027CBD2CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShanmugapriyaL1_0-1669194896628.png" alt="ShanmugapriyaL1_0-1669194896628.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using visual studio 2019 and ArcGIS 10.8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone please help me out in this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 09:16:46 GMT</pubDate>
    <dc:creator>ShanmugapriyaL1</dc:creator>
    <dc:date>2022-11-23T09:16:46Z</dc:date>
    <item>
      <title>System.Runtime.InteropServices.COMException handling</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/system-runtime-interopservices-comexception/m-p/1234434#M20540</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to get the feature class name from the shapefile.&lt;/P&gt;&lt;P&gt;But it throws,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;System.Runtime.InteropServices.COMException: 'Unspecified error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The element '{&lt;A href="http://schemas.microsoft.com/windows/2005/02/color/WcsCommonProfileTypes%7DText" target="_blank" rel="noopener nofollow noreferrer"&gt;http://schemas.microsoft.com/windows/2005/02/color/WcsCommonProfileTypes}Text&lt;/A&gt;' is used but not declared in the DTD/Schema.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can't find solution to resolve this.&lt;/P&gt;&lt;P&gt;I tried the ArcObjects SDK document code that I attached below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//00490000008m000000" target="_blank" rel="noopener"&gt;https://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//00490000008m000000&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching my code snippet and error message below.&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="ShanmugapriyaL1_0-1669194896628.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56679iCDD7710027CBD2CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShanmugapriyaL1_0-1669194896628.png" alt="ShanmugapriyaL1_0-1669194896628.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using visual studio 2019 and ArcGIS 10.8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone please help me out in this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 09:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/system-runtime-interopservices-comexception/m-p/1234434#M20540</guid>
      <dc:creator>ShanmugapriyaL1</dc:creator>
      <dc:date>2022-11-23T09:16:46Z</dc:date>
    </item>
  </channel>
</rss>

