<?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: Invalid function argument in OpenTable method - API 1.3 in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557032#M903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm able to open a feature class named "DMA" which is in the UK national grid, so the coordinate system is unlikely to be the problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fact that you can't open it and ExecureSQL can't find it, but ArcCatalog can see it. Was the file geodatabase upgraded from an earlier version (9.x). If so create a new file geodatabase and copy the data into it. Try to open the DMA feature class in the new file geodatabase. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you compile and run the C# samples? The display sample will not compile without additional software (see the readme). Run the Query sample.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 13:56:20 GMT</pubDate>
    <dc:creator>LanceShipman</dc:creator>
    <dc:date>2014-06-20T13:56:20Z</dc:date>
    <item>
      <title>Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557027#M898</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 am using API 1.3 with VS 2010, target framework .NET 4.0 and ArcGIS 10.0 with service pack 5.0. The file geo database is created in same ArcGIS version. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The File geodatabase uses British Coordinate System. It contains among few feature classes, polygon feature class "DMA". Below is my c# code causing me problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Geodatabase geodatbase = Geodatabase.open("D:\\Clean Water\\CW_Assets.gdb");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Table esriTable = geodatabase.OpenTable("DMA");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;on the second line I am getting an error message "Invalid function argument". From other discussion thread on same topic I learned that API doesn't support customized coordinate system, but british coordinate system is not customized, it's standard coordinate system available in ArcGIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did tried other method to check if I can access attribute data of "DMA".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RowCollection attributeQuery = geodatabase.ExecuteSQL("Select * from DMA"), the error message I got was "table not found".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could see the existence of feature class "DMA" in ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can somebody advise what am I doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sunil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 07:33:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557027#M898</guid>
      <dc:creator>SunilTerkar</dc:creator>
      <dc:date>2014-06-19T07:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557028#M899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Table esriTable = geodatabase.OpenTable("\\DMA");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:44:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557028#M899</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2014-06-19T13:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557029#M900</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 tried;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Table esriTable = geoDatabase.OpenTable("\\DMA");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still getting "Invalid function arguments" error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any more advise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sunil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557029#M900</guid>
      <dc:creator>SunilTerkar</dc:creator>
      <dc:date>2014-06-19T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557030#M901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm able to open a table named "DMA", so it's not a name issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you supply more information on the coordinate system? What is the name of the projection? The datum? Amy details would be helpful. As an experiment reproject the data or a subset into Robinson or similar. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the feature class involved in a network, topology or anything similar?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 19:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557030#M901</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2014-06-19T19:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557031#M902</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;Here are details of coordinate system used for "DMA" feature class and another feature classes in geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Name of Coordinate System:- British National Grid&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Projection:- Transverse_Mercator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Datum:- Ordinance Survey Great Brit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's pretty much standard system used in this part of world (UK). "DMA" feature class is not involve in any network but geodatabase contains Feature Dataset and some participating feature classes in geometric network. Following is a tree of feature classes as viewd in ArcCatalog&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CW_Assets.gdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; FDS - Feature dataset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ---CW_wDistributionMain - Feature class in Geometric network&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ---CW_wNetworkMeter - Feature class in Geometric network&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ---GN - Geometric network&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ---GN_Junctions -&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; DMA - Feature class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; GN_BUILDERR - Table&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you need more information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sunil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 12:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557031#M902</guid>
      <dc:creator>SunilTerkar</dc:creator>
      <dc:date>2014-06-20T12:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557032#M903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm able to open a feature class named "DMA" which is in the UK national grid, so the coordinate system is unlikely to be the problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fact that you can't open it and ExecureSQL can't find it, but ArcCatalog can see it. Was the file geodatabase upgraded from an earlier version (9.x). If so create a new file geodatabase and copy the data into it. Try to open the DMA feature class in the new file geodatabase. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you compile and run the C# samples? The display sample will not compile without additional software (see the readme). Run the Query sample.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:56:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557032#M903</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2014-06-20T13:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557033#M904</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;The filegeodatabase is created by ArcGIS 10.0 which is currently am using. I can compile c# sample code but cannot test it for lack of sample database. I did followed the steps given in sample code for writing my code. It seems kind of issue not able to figure out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sunil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557033#M904</guid>
      <dc:creator>SunilTerkar</dc:creator>
      <dc:date>2014-06-20T14:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557034#M905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suspect your initial diagnosis (custom projection) is the problem.&amp;nbsp; The only way&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;we'll know for sure is if you copy the DMA table to a new file geodatabase, then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zip the new .gdb folder and post it here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557034#M905</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-06-20T14:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557035#M906</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;Please find "DMA" feature class in new file geodatabase as requested for testing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sunil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557035#M906</guid>
      <dc:creator>SunilTerkar</dc:creator>
      <dc:date>2014-06-20T14:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557036#M907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcGIS see's your feature class as a "Custom" projection. The feature class I created as UK National Grid is not seen as "Custom". The projection information is the same. The xy domains are very different. I'll talk to the projection team and see what they have to say.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 15:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557036#M907</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2014-06-20T15:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557037#M908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what is expected by ArcGIS:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROJCS["British_National_Grid",GEOGCS["GCS_OSGB_1936",DATUM["D_OSGB_1936",SPHEROID["Airy_1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",-100000.0],PARAMETER["Central_Meridian",-2.0],PARAMETER["Scale_Factor",0.9996012717],PARAMETER["Latitude_Of_Origin",49.0],UNIT["Meter",1.0]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what your feature class contains:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROJCS["British National Grid",GEOGCS["Ordnance Survey Great Brit",DATUM["Ordnance Survey Great Brit",SPHEROID["Airy 1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",-100000.0],PARAMETER["Central_Meridian",-2.0],PARAMETER["Scale_Factor",0.9996012717],PARAMETER["Latitude_Of_Origin",49.0],UNIT["Meter",1.0]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcOBJECTS and the File Geodatabase API compare these strings and since yours is seen as different, it is seen as "Custom".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What was the source of this data and how was it loaded?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 16:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557037#M908</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2014-06-20T16:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557038#M909</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;The data was received from client who is using ArcGIS for ages and I just copied the features class to new geodatbase for using file geodatabase API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, in my another application developed in ArcObject, same coordinate system doesn't give me any problem. I reckon, either something has changed between versions of ArcGIS or Client has edited the .prj file just to replace couple of text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am about to revert British coordinate system given in feature class to ArcGIS and test the application and will report.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sunil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 17:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557038#M909</guid>
      <dc:creator>SunilTerkar</dc:creator>
      <dc:date>2014-06-20T17:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid function argument in OpenTable method - API 1.3</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557039#M910</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 can now confirm that issue is resolved after reverting back to "British National Grid" given in ArcGIS.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sunil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 07:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/invalid-function-argument-in-opentable-method-api/m-p/557039#M910</guid>
      <dc:creator>SunilTerkar</dc:creator>
      <dc:date>2014-06-23T07:51:53Z</dc:date>
    </item>
  </channel>
</rss>

