<?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: FileGDBException Question/Help in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/filegdbexception-question-help/m-p/413518#M688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The most likely explanation is that the variable _colName has not been set or has a typo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 21:03:05 GMT</pubDate>
    <dc:creator>DavidSousa</dc:creator>
    <dc:date>2013-07-29T21:03:05Z</dc:date>
    <item>
      <title>FileGDBException Question/Help</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/filegdbexception-question-help/m-p/413517#M687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this routine that pumps data to a fgdb table but some reason I'm getting the below error for certain fields.&amp;nbsp; There doesn't seem to be a pattern that I can put my finger on.&amp;nbsp; In the example below the first two fields get set properly, but when the ADR field attempts to set then the error occurs.&amp;nbsp; The data type is exactly the same as the FCODE, and the columns all exist in the destination database with the correct names, and corresponding data types.&amp;nbsp;&amp;nbsp; I get this same thing with another feature class but the data type there is an integer.&amp;nbsp; Anybody ever encountered this or have any ideas about what may be going on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MYSUBTYPE: 100089&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FCODE: BZ020&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ADR: noInformation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri.FileGDB.FileGDBException: An expected Field was not found or could not be retrieved properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the line of code that throws the error. I know for a fact that my parameters have values because I print them out for verification and it is where the list above came from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; _fgdbRow.SetString(_colName, dr.GetString(col));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Chuck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 08:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/filegdbexception-question-help/m-p/413517#M687</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2013-07-26T08:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: FileGDBException Question/Help</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/filegdbexception-question-help/m-p/413518#M688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The most likely explanation is that the variable _colName has not been set or has a typo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 21:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/filegdbexception-question-help/m-p/413518#M688</guid>
      <dc:creator>DavidSousa</dc:creator>
      <dc:date>2013-07-29T21:03:05Z</dc:date>
    </item>
  </channel>
</rss>

