<?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: I can't connect to arcsde geodatabase in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50828#M4021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;what if you want to do it without an sde database connection?&lt;BR /&gt;say I am setting this up to be activated from arcpad instead &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think what Emad was getting at is if you drag and drop, the proper syntax will appear in your code. You can then use that code in your ArcPad app, or use that code as a template to build an appropriate connection string for a different user/database etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach that I have found handy with difficult syntaxes is to do the operation using a tool interactively in ArcGIS Desktop (for example, run the Create Database Connection tool, taking advantage of the help and validation [parameter checks] in the tool interactive interface), and then copy python snippets from the Results window (right click &amp;gt; Copy Python Snippet). This approach can save you hours of frustration!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 00:33:00 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2013-05-13T00:33:00Z</dc:date>
    <item>
      <title>I can't connect to arcsde geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50825#M4018</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;SPAN&gt;good morning&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a problem to connect to an arcsde geodatabase with python and i need help please&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i use arcsde for single use (trial version of ArcGIS Desktop10)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have stored a geodatabase in sqlserver with arcsde&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i try to connect to this geodatabase with this python code but the connection failed, help please, thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy &amp;gt;&amp;gt;&amp;gt; import sys &amp;gt;&amp;gt;&amp;gt; import os&amp;nbsp; &amp;gt;&amp;gt;&amp;gt; arcpy.CreateArcSDEConnectionFile_management("C:/connectionFiles","connect.sde","MKT/otc","sde:sqlserver:MKT/p10","BDP10TN_SIG","OPERATING_SYSTEM_AUTH","dbo.DEFAULT","DO_NOT_SAVE_VERSION")&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Result 'C:\\connectionFiles\\connect.sde'&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Heure de début*: Fri May 11 17:37:35 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;WARNING&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;000565&lt;/STRONG&gt;&lt;SPAN&gt;: Impossible de se connecter au serveur.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;réussie à Fri May 11 17:37:35 2012 (temps écoulé*: 0,00 secondes)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2012 20:00:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50825#M4018</guid>
      <dc:creator>ben_abdallahmhd</dc:creator>
      <dc:date>2012-05-12T20:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: I can't connect to arcsde geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50826#M4019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the easiest way is to drage and drop your ArcCatalog SDE Connection to your python IDE from ArcCatalog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Dec 2012 02:23:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50826#M4019</guid>
      <dc:creator>EmadAl-Mousa</dc:creator>
      <dc:date>2012-12-25T02:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: I can't connect to arcsde geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50827#M4020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what if you want to do it without an sde database connection?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;say I am setting this up to be activated from arcpad instead and the user is remote so I want to use the ip address.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what would the syntax look like?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 May 2013 21:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50827#M4020</guid>
      <dc:creator>GarrettMoeller</dc:creator>
      <dc:date>2013-05-12T21:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: I can't connect to arcsde geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50828#M4021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;what if you want to do it without an sde database connection?&lt;BR /&gt;say I am setting this up to be activated from arcpad instead &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think what Emad was getting at is if you drag and drop, the proper syntax will appear in your code. You can then use that code in your ArcPad app, or use that code as a template to build an appropriate connection string for a different user/database etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach that I have found handy with difficult syntaxes is to do the operation using a tool interactively in ArcGIS Desktop (for example, run the Create Database Connection tool, taking advantage of the help and validation [parameter checks] in the tool interactive interface), and then copy python snippets from the Results window (right click &amp;gt; Copy Python Snippet). This approach can save you hours of frustration!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 00:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50828#M4021</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-05-13T00:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: I can't connect to arcsde geodatabase</title>
      <link>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50829#M4022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excellent answer thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 00:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/i-can-t-connect-to-arcsde-geodatabase/m-p/50829#M4022</guid>
      <dc:creator>GarrettMoeller</dc:creator>
      <dc:date>2013-05-13T00:49:31Z</dc:date>
    </item>
  </channel>
</rss>

