<?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: connection string for dbf files in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/connection-string-for-dbf-files/m-p/1215764#M11352</link>
    <description>&lt;P&gt;That's not an approach I've seen anyone take... we obviously recommend querying via the API (&lt;A href="https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.FeatureTable.QueryFeaturesAsync.html" target="_blank"&gt;Method QueryFeaturesAsync (arcgis.com)&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;That said, perhaps...&lt;/P&gt;&lt;P&gt;Check your connection string: From a quick search on StackOverflow it looks like the connecting string should include the directory name and you access each dbf file in that directory as a table of the database connection? e.g.&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/21249404/read-dbf-file-system-data-oledb-oledbexception" target="_blank"&gt;c# - Read DBF file: System.Data.OleDb.OleDbException - Stack Overflow&lt;/A&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at the technical spec for Shapefile for dbf info:&amp;nbsp;&lt;A href="https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf" target="_blank"&gt;ESRI Shapefile Technical Description&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2022 21:48:40 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2022-09-23T21:48:40Z</dc:date>
    <item>
      <title>connection string for dbf files</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/connection-string-for-dbf-files/m-p/1215511#M11350</link>
      <description>&lt;P&gt;I am attempting to read the .dbf file associated with a .shp file to speed up the search for certain metadata, rather than querying the .shp file. I am having great difficulty formulating the correct connection string. I think that the .dbf files are in dBase III+ format, but I'm not sure. At run time I get an error when I open the .dbf file using the connection string below - "code -2147467259 - Unexpected error from external database driver (8961)". Any help in formulating the correct connection string would be much appreciated.&lt;/P&gt;&lt;P&gt;In an act of absolute desperation, I have reconstructed a .dbf file by querying the .shp file and producing a .dbf that is dBase IV using the connection string below, and it works, but I'd like to access the .dbf without having to reconstruct the .dbf file.&lt;/P&gt;&lt;P&gt;I am using an&amp;nbsp;OleDbConnection connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Dim BaseConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Mode=Read;Extended Properties=dBase IV;"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Platform is Windows 10 64-bit&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 14:19:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/connection-string-for-dbf-files/m-p/1215511#M11350</guid>
      <dc:creator>MarcHillman</dc:creator>
      <dc:date>2022-09-23T14:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: connection string for dbf files</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/connection-string-for-dbf-files/m-p/1215764#M11352</link>
      <description>&lt;P&gt;That's not an approach I've seen anyone take... we obviously recommend querying via the API (&lt;A href="https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.FeatureTable.QueryFeaturesAsync.html" target="_blank"&gt;Method QueryFeaturesAsync (arcgis.com)&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;That said, perhaps...&lt;/P&gt;&lt;P&gt;Check your connection string: From a quick search on StackOverflow it looks like the connecting string should include the directory name and you access each dbf file in that directory as a table of the database connection? e.g.&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/21249404/read-dbf-file-system-data-oledb-oledbexception" target="_blank"&gt;c# - Read DBF file: System.Data.OleDb.OleDbException - Stack Overflow&lt;/A&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at the technical spec for Shapefile for dbf info:&amp;nbsp;&lt;A href="https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf" target="_blank"&gt;ESRI Shapefile Technical Description&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 21:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/connection-string-for-dbf-files/m-p/1215764#M11352</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-09-23T21:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: connection string for dbf files</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/connection-string-for-dbf-files/m-p/1215768#M11353</link>
      <description>&lt;P&gt;I do query by&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.FeatureTable.QueryFeaturesAsync.html" target="_blank" rel="nofollow noopener noreferrer"&gt;QueryFeaturesAsync&lt;/A&gt;&amp;nbsp;(mostly) but in some performance related cases I use the .dbf file. The full connection string does include the directory name, but I only showed the bit that has the issue. When I use a dBase IV connection string, it works on the dBase IV .dbf that I created. I wish to use a connection string that works on the .dbf file that came with the .shp file.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 22:08:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/connection-string-for-dbf-files/m-p/1215768#M11353</guid>
      <dc:creator>MarcHillman</dc:creator>
      <dc:date>2022-09-23T22:08:45Z</dc:date>
    </item>
  </channel>
</rss>

