<?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 API 4- Final release date in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267855#M443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm just wondering if you have any idea when API 4- Final release will be released? I believe the latest blog entry said mid-may..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other question is: I got a file geodatabase amphibian and tried to open it using file geodatabase api, but got "General function failure" message. Since we don't have access to source code, more specific error message than "General function failure" will be appreciated. Do you mind taking a look at my file geodatabase (it is way to big to post on this forum.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2011 18:13:33 GMT</pubDate>
    <dc:creator>eykim</dc:creator>
    <dc:date>2011-05-30T18:13:33Z</dc:date>
    <item>
      <title>API 4- Final release date</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267855#M443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm just wondering if you have any idea when API 4- Final release will be released? I believe the latest blog entry said mid-may..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other question is: I got a file geodatabase amphibian and tried to open it using file geodatabase api, but got "General function failure" message. Since we don't have access to source code, more specific error message than "General function failure" will be appreciated. Do you mind taking a look at my file geodatabase (it is way to big to post on this forum.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 18:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267855#M443</guid>
      <dc:creator>eykim</dc:creator>
      <dc:date>2011-05-30T18:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: API 4- Final release date</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267856#M444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We expect to have final posted sometime today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd be happy to look at your file geodatabase. Send a zipped copy to me at &lt;/SPAN&gt;&lt;A href="mailto:lshipman@esri.com" rel="nofollow noopener noreferrer" target="_blank"&gt;lshipman@esri.com&lt;/A&gt;&lt;SPAN&gt; or place a copy of it on the esri ftp site. Is it a 10.0 file geodatabase? If not, you can't open it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be able to get extended error information by using the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; fgdbError hr;
&amp;nbsp; wstring errorText;
&amp;nbsp; Geodatabase geodatabase;
&amp;nbsp; int recordCount = 0;
&amp;nbsp; if ((hr = OpenGeodatabase(L"../data/Querying.gdb", geodatabase)) != S_OK)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; wcout &amp;lt;&amp;lt; "An error occurred while opening the geodatabase." &amp;lt;&amp;lt; endl;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorInfo::GetErrorDescription(hr, errorText);
&amp;nbsp;&amp;nbsp;&amp;nbsp; wcout &amp;lt;&amp;lt; errorText &amp;lt;&amp;lt; "(" &amp;lt;&amp;lt; hr &amp;lt;&amp;lt; ")." &amp;lt;&amp;lt; endl;

&amp;nbsp;&amp;nbsp;&amp;nbsp; // Report any extended errors (XML).
&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorInfo::GetErrorRecordCount(recordCount);
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0;i &amp;lt;= (recordCount - 1); i++)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorInfo::GetErrorRecord(i,hr,errorText);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wcout &amp;lt;&amp;lt; errorText &amp;lt;&amp;lt; endl;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorInfo::ClearErrors();

&amp;nbsp;&amp;nbsp;&amp;nbsp; return -1;
&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is particularly helpful when creating a table as XML parsing errors are reported via this mechanism.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:07:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267856#M444</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2021-12-11T13:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: API 4- Final release date</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267857#M445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The amphibians db I got is from a remote site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.iucnredlist.org/spatial-data/2010.4/GISData/All_AMPHIBIANS_Oct2010.gdb.zip" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.iucnredlist.org/spatial-data/2010.4/GISData/All_AMPHIBIANS_Oct2010.gdb.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I've tried to get an error description xml but the error count I got was 0 and and the xml returns empty string. Funny thing is I can open the file in ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for looking into this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

if ((hr = OpenGeodatabase(L"C:/All_AMPHIBIANS_Oct2010.gdb", geodatabase2)) != S_OK)
&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::wstring oErrDesc, oErrXML;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileGDBAPI::ErrorInfo::GetErrorDescription (hr, oErrDesc);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wcout &amp;lt;&amp;lt; "An error occurred while opening the geodatabase." &amp;lt;&amp;lt; endl;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wcout &amp;lt;&amp;lt; oErrDesc &amp;lt;&amp;lt; endl;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Report any extended errors (XML).
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int nErrRecordCnt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileGDBAPI::ErrorInfo::GetErrorRecordCount(nErrRecordCnt);
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0;i &amp;lt;= (nErrRecordCnt - 1); i++)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileGDBAPI::ErrorInfo::GetErrorRecord(i,hr,oErrXML);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wcout &amp;lt;&amp;lt; oErrDesc &amp;lt;&amp;lt; endl;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return hr;
&amp;nbsp; }

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267857#M445</guid>
      <dc:creator>eykim</dc:creator>
      <dc:date>2021-12-11T13:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: API 4- Final release date</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267858#M446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Final returns the following error: This release of the GeoDatabase is either invalid or out of date.(-2147220965).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The file geodatabase is a 9.3 geodatabase. The API only supports 10.0 or later. You need to upgrade the file geodatabase to 10.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Final has been posted to the resources site.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 17:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/api-4-final-release-date/m-p/267858#M446</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2011-06-02T17:27:38Z</dc:date>
    </item>
  </channel>
</rss>

