<?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 How to specify an SDE geodatabase when calling Geoprocessor from C# in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-specify-an-sde-geodatabase-when-calling/m-p/212096#M7233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using ArcGIS 10.2.1. &amp;nbsp;I'm writing a C# console application that calls the Geoprocessor in order to execute the FeatureClassToFeatureClass tool. &amp;nbsp;This works fine when I'm using a file geodatabase. &amp;nbsp;However, I want to use an SDE geodatabase. &amp;nbsp;I can't seem to get the output_path specified correctly. &amp;nbsp;I keep getting exceptions and the FeatureClassToFeatureClass tool does not create a new feature class. &amp;nbsp;The code is shown below. &amp;nbsp;If I use a file geodatabase path for the in_features and out_path, like "C:\data\Test.gdb", then the GP.Execute tool runs fine. &amp;nbsp;I seem to be specifying the out_path and possibly the out_name incorrectly when using an SDE geodatabase, but I'm don't know the proper format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GP = new Geoprocessor();&lt;BR /&gt;FeatureClassToFeatureClass fcTofc = new FeatureClassToFeatureClass();&lt;BR /&gt;fcTofc.in_features = @"Database Connections\gistest.sde\ARCGIS.SEP";&lt;BR /&gt;fcTofc.out_path = @"Database Connections\gistest.sde";&lt;BR /&gt;fcTofc.out_name = "SEP_copy";&lt;BR /&gt;GP.Execute(fcTofc, null);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 May 2017 22:27:16 GMT</pubDate>
    <dc:creator>TheodoreRakel</dc:creator>
    <dc:date>2017-05-04T22:27:16Z</dc:date>
    <item>
      <title>How to specify an SDE geodatabase when calling Geoprocessor from C#</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-specify-an-sde-geodatabase-when-calling/m-p/212096#M7233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using ArcGIS 10.2.1. &amp;nbsp;I'm writing a C# console application that calls the Geoprocessor in order to execute the FeatureClassToFeatureClass tool. &amp;nbsp;This works fine when I'm using a file geodatabase. &amp;nbsp;However, I want to use an SDE geodatabase. &amp;nbsp;I can't seem to get the output_path specified correctly. &amp;nbsp;I keep getting exceptions and the FeatureClassToFeatureClass tool does not create a new feature class. &amp;nbsp;The code is shown below. &amp;nbsp;If I use a file geodatabase path for the in_features and out_path, like "C:\data\Test.gdb", then the GP.Execute tool runs fine. &amp;nbsp;I seem to be specifying the out_path and possibly the out_name incorrectly when using an SDE geodatabase, but I'm don't know the proper format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GP = new Geoprocessor();&lt;BR /&gt;FeatureClassToFeatureClass fcTofc = new FeatureClassToFeatureClass();&lt;BR /&gt;fcTofc.in_features = @"Database Connections\gistest.sde\ARCGIS.SEP";&lt;BR /&gt;fcTofc.out_path = @"Database Connections\gistest.sde";&lt;BR /&gt;fcTofc.out_name = "SEP_copy";&lt;BR /&gt;GP.Execute(fcTofc, null);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 22:27:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-specify-an-sde-geodatabase-when-calling/m-p/212096#M7233</guid>
      <dc:creator>TheodoreRakel</dc:creator>
      <dc:date>2017-05-04T22:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify an SDE geodatabase when calling Geoprocessor from C#</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-specify-an-sde-geodatabase-when-calling/m-p/212097#M7234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like I have a license issue. &amp;nbsp;Examining the GP messages, I see "The application is not licensed to create or modify schema for this type of data".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 22:46:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-specify-an-sde-geodatabase-when-calling/m-p/212097#M7234</guid>
      <dc:creator>TheodoreRakel</dc:creator>
      <dc:date>2017-05-04T22:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify an SDE geodatabase when calling Geoprocessor from C#</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-specify-an-sde-geodatabase-when-calling/m-p/212098#M7235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out I had to get the proper license. &amp;nbsp;Now it works.&lt;/P&gt;&lt;P&gt;ESRI.ArcGIS.RuntimeManager.BindLicense(ESRI.ArcGIS.ProductCode.Desktop, ESRI.ArcGIS.LicenseLevel.GeodatabaseUpdate);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 22:49:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-specify-an-sde-geodatabase-when-calling/m-p/212098#M7235</guid>
      <dc:creator>TheodoreRakel</dc:creator>
      <dc:date>2017-05-04T22:49:09Z</dc:date>
    </item>
  </channel>
</rss>

