<?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 CreateArcSDEConnectionFile_management and transaction version dbo.DEFAULT selection in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600188#M46901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to make a database connection with the CreateArcSDEConnectionFile_management function in python. Everything works fine EXCEPT that I have to manually change the connection details to dbo.DEFAULT before the connection is usable (I have to do the same even if I am creating the connection through Catalog--Click the Change button in the Connection details section, Choose the dbo.DEFAULT, Click OK on the Connection Details dialog box to close it.) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a known issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a work around that can be scripted so that the user does not need to exit the script and manually perform this step?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2012 10:13:18 GMT</pubDate>
    <dc:creator>JohnLay</dc:creator>
    <dc:date>2012-09-25T10:13:18Z</dc:date>
    <item>
      <title>CreateArcSDEConnectionFile_management and transaction version dbo.DEFAULT selection</title>
      <link>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600188#M46901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to make a database connection with the CreateArcSDEConnectionFile_management function in python. Everything works fine EXCEPT that I have to manually change the connection details to dbo.DEFAULT before the connection is usable (I have to do the same even if I am creating the connection through Catalog--Click the Change button in the Connection details section, Choose the dbo.DEFAULT, Click OK on the Connection Details dialog box to close it.) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a known issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a work around that can be scripted so that the user does not need to exit the script and manually perform this step?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 10:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600188#M46901</guid>
      <dc:creator>JohnLay</dc:creator>
      <dc:date>2012-09-25T10:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: CreateArcSDEConnectionFile_management and transaction version dbo.DEFAULT selecti</title>
      <link>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600189#M46902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you specifying the 'version' parameter?&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CreateArcSDEConnectionFile_management("C:/Projects","SQLEXPRESS", "SDE_SERVER","sde:sqlserver:SDE_SERVER/sqlexpress","Data","OPERATING_SYSTEM_AUTH","#","#","SAVE_USERNAME","&lt;STRONG&gt;dbo.DEFAULT&lt;/STRONG&gt;","SAVE_VERSION")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 10:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600189#M46902</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-09-25T10:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: CreateArcSDEConnectionFile_management and transaction version dbo.DEFAULT selecti</title>
      <link>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600190#M46903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yep, I am specifying dbo.DEFAULT as the version parameter. Once the database connection is created, I have to manually edit the connection properties and specify dbo.DEFAULT as the version again before it will connect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]database = r"Database Connections\CENSUS.sde"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if arcpy.Exists(database):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pass&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CreateArcSDEConnectionFile_management ("Database Connections", "CENSUS.sde", "CENSUS", "sde:sqlserver:00.00.000.000", "CENSUS", "DATABASE_AUTH", "USER", "PASS", "SAVE_USERNAME", "sde.DEFAULT", "SAVE_VERSION")[/HTML]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:10:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600190#M46903</guid>
      <dc:creator>JohnLay</dc:creator>
      <dc:date>2012-09-25T11:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: CreateArcSDEConnectionFile_management and transaction version dbo.DEFAULT selecti</title>
      <link>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600191#M46904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the code you posted, you are specifying 'sde.default' (2nd to last parameter).&amp;nbsp; Try changing this to dbo.default.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600191#M46904</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-09-25T11:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: CreateArcSDEConnectionFile_management and transaction version dbo.DEFAULT selecti</title>
      <link>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600192#M46905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nope, wait. Looks like I DIDN'T specify dbo.DEFAULT as the version but sde.DEFAULT instead. I should have uploaded the script to begin with. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Jake for pointing that out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:17:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createarcsdeconnectionfile-management-and/m-p/600192#M46905</guid>
      <dc:creator>JohnLay</dc:creator>
      <dc:date>2012-09-25T11:17:08Z</dc:date>
    </item>
  </channel>
</rss>

