<?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 GetOleDbSchemaTable Fails With FileGeoDatabase in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/getoledbschematable-fails-with-filegeodatabase/m-p/240923#M1504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to extend some existing code to support FGDB connections, but I'm getting an unhelpful error when I try to make calls using my connection. I have an open connection and am trying to call GetOleDbSchemaTable in a try/catch. The application runs as an ArcMap extension and this portion of the code runs after everything has loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection String: "Provider=ESRI.GeoDB.OleDB.1; DATA SOURCE = C:\Projects\Demo\Workspaces\FGDB.gdb; Extended Properties=workspacetype=esriDataSourcesGDB.FileGDBWorkspaceFactory.1; Geometry=WKB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataTable table = cnn.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Columns, new object[] { null, null, tableName, null });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could not retrieve schema information for table tableName due to an error: 'ESRI.GeoDB.OleDB.1' failed with no error message available, result code: DB_E_NOTSUPPORTED(0x80040E53).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using this older forum post as a reference &lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=2370&amp;amp;t=244511" title="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=2370&amp;amp;t=244511"&gt;Importing data from a File GeoDatabase&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like you can select on the OleDbSchemaGuid.Tables, but not the OleDbSchemaGuild.Columns. Is this unsupported?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2016 17:20:50 GMT</pubDate>
    <dc:creator>DanielleAlexander</dc:creator>
    <dc:date>2016-01-05T17:20:50Z</dc:date>
    <item>
      <title>GetOleDbSchemaTable Fails With FileGeoDatabase</title>
      <link>https://community.esri.com/t5/developers-questions/getoledbschematable-fails-with-filegeodatabase/m-p/240923#M1504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to extend some existing code to support FGDB connections, but I'm getting an unhelpful error when I try to make calls using my connection. I have an open connection and am trying to call GetOleDbSchemaTable in a try/catch. The application runs as an ArcMap extension and this portion of the code runs after everything has loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection String: "Provider=ESRI.GeoDB.OleDB.1; DATA SOURCE = C:\Projects\Demo\Workspaces\FGDB.gdb; Extended Properties=workspacetype=esriDataSourcesGDB.FileGDBWorkspaceFactory.1; Geometry=WKB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataTable table = cnn.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Columns, new object[] { null, null, tableName, null });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could not retrieve schema information for table tableName due to an error: 'ESRI.GeoDB.OleDB.1' failed with no error message available, result code: DB_E_NOTSUPPORTED(0x80040E53).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using this older forum post as a reference &lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=2370&amp;amp;t=244511" title="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=2370&amp;amp;t=244511"&gt;Importing data from a File GeoDatabase&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like you can select on the OleDbSchemaGuid.Tables, but not the OleDbSchemaGuild.Columns. Is this unsupported?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 17:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/getoledbschematable-fails-with-filegeodatabase/m-p/240923#M1504</guid>
      <dc:creator>DanielleAlexander</dc:creator>
      <dc:date>2016-01-05T17:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: GetOleDbSchemaTable Fails With FileGeoDatabase</title>
      <link>https://community.esri.com/t5/developers-questions/getoledbschematable-fails-with-filegeodatabase/m-p/240924#M1505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We continue to battle with the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ESRI.GeoDB.OleDB.1&lt;/SPAN&gt; provider. The documentation is severely lacking, and the functionality seems equally lacking, from my experience thus far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 15:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/getoledbschematable-fails-with-filegeodatabase/m-p/240924#M1505</guid>
      <dc:creator>DanielleAlexander</dc:creator>
      <dc:date>2017-01-04T15:36:12Z</dc:date>
    </item>
  </channel>
</rss>

