<?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 CreateTable fails while creating a data table. in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28145#M30</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have and xml definition for a data table. Till API1.3, everything used to work fine but, when I upgraded my API to V1.4, CreateTable is failing for the same XML (Attached schema.xml). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I compared with the table.xml that is delivered in the XML samples along with the API and made modifications so that table.xml looks exactly same as schema.xml (attached both the files and they are absolutely same). when I give table.xml everything works fine but when schema.xml xml is used CreateTable is failing with the error "General Function Failure" (hr= -2147467259)!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you any one help if I'm missing anything here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2015 11:56:05 GMT</pubDate>
    <dc:creator>BharatKale</dc:creator>
    <dc:date>2015-09-21T11:56:05Z</dc:date>
    <item>
      <title>CreateTable fails while creating a data table.</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28145#M30</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have and xml definition for a data table. Till API1.3, everything used to work fine but, when I upgraded my API to V1.4, CreateTable is failing for the same XML (Attached schema.xml). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I compared with the table.xml that is delivered in the XML samples along with the API and made modifications so that table.xml looks exactly same as schema.xml (attached both the files and they are absolutely same). when I give table.xml everything works fine but when schema.xml xml is used CreateTable is failing with the error "General Function Failure" (hr= -2147467259)!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you any one help if I'm missing anything here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:56:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28145#M30</guid>
      <dc:creator>BharatKale</dc:creator>
      <dc:date>2015-09-21T11:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: CreateTable fails while creating a data table.</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28146#M31</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 18:02:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28146#M31</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2015-09-30T18:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: CreateTable fails while creating a data table.</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28147#M32</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;CLSID&amp;gt;{52353152-891A-11D0-BEC6-00805F7C4268}&amp;lt;/CLSID&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CLSID&amp;gt;{7A566981-C114-11D2-8A28-006097AFF44E}&amp;lt;/CLSID&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to look at the creation of the streets feature class in theTableSchema exanple in the samples. Creating a table is even simpler as you just create the fieldDefs and pass it to create. All the complication is in creating the coordinate reference and geometry, which with a table is not required,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 18:34:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28147#M32</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2015-09-30T18:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: CreateTable fails while creating a data table.</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28148#M33</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Lance for looking into the issue. Your suggestion has fixed my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding about the CLSID here is that it can be any GUID value as long as it's unique. Now I got it right and it's a constant value based on the type whether it's a table or a feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I was confused mainly because the same table.xml which is not working with APIV1.4, is working perfectly fine (with the CLSID value as {&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;52353152-891A-11D0-BEC6-00805F7C4268&lt;/SPAN&gt;}) with APIV1.3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 05:00:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/createtable-fails-while-creating-a-data-table/m-p/28148#M33</guid>
      <dc:creator>BharatKale</dc:creator>
      <dc:date>2015-10-01T05:00:22Z</dc:date>
    </item>
  </channel>
</rss>

