<?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 ArcPy is not able to open a Table. in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-is-not-able-to-open-a-table/m-p/741178#M283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several scripts that create a geodatabase, modify the schema and insert data on the database. This scripts are designed as part of a solution. In a Nigthly process this scripts are called, several times, in order to have several databases (Development/Testing process).&lt;/P&gt;&lt;P&gt;The scripts include the creation of SDE files for the connection based on User/Password.&lt;/P&gt;&lt;P&gt;When progress logs are checked,time to time, the scripts have failed:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;cannot open 'DataOwner.PROJECT_STATUS'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but is not always the same table.&lt;/P&gt;&lt;P&gt;Running the set of scripts again in the morning they work fine.&lt;/P&gt;&lt;P&gt;Trying to find a possible cause, in the SQL server logs I found some entries that match the time when the scripts fail:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Date 8/11/2020 5:18:45 AM&lt;BR /&gt; Log SQL Server (Current - 8/11/2020 6:00:00 AM)&lt;BR /&gt;&lt;BR /&gt; Source spid71&lt;BR /&gt;&lt;BR /&gt; Message&lt;BR /&gt; The connection has been dropped because the principal that opened it subsequently assumed a new security context, and then tried to reset the connection under its impersonated security context. This scenario is not supported. See "Impersonation Overview" in Books Online.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Currently in the scripts, there is no impersonation.&lt;/P&gt;&lt;P&gt;What could be the possible causes for this behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2020 07:09:11 GMT</pubDate>
    <dc:creator>Cristian_Galindo</dc:creator>
    <dc:date>2020-08-11T07:09:11Z</dc:date>
    <item>
      <title>ArcPy is not able to open a Table.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-is-not-able-to-open-a-table/m-p/741178#M283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several scripts that create a geodatabase, modify the schema and insert data on the database. This scripts are designed as part of a solution. In a Nigthly process this scripts are called, several times, in order to have several databases (Development/Testing process).&lt;/P&gt;&lt;P&gt;The scripts include the creation of SDE files for the connection based on User/Password.&lt;/P&gt;&lt;P&gt;When progress logs are checked,time to time, the scripts have failed:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;cannot open 'DataOwner.PROJECT_STATUS'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but is not always the same table.&lt;/P&gt;&lt;P&gt;Running the set of scripts again in the morning they work fine.&lt;/P&gt;&lt;P&gt;Trying to find a possible cause, in the SQL server logs I found some entries that match the time when the scripts fail:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Date 8/11/2020 5:18:45 AM&lt;BR /&gt; Log SQL Server (Current - 8/11/2020 6:00:00 AM)&lt;BR /&gt;&lt;BR /&gt; Source spid71&lt;BR /&gt;&lt;BR /&gt; Message&lt;BR /&gt; The connection has been dropped because the principal that opened it subsequently assumed a new security context, and then tried to reset the connection under its impersonated security context. This scenario is not supported. See "Impersonation Overview" in Books Online.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Currently in the scripts, there is no impersonation.&lt;/P&gt;&lt;P&gt;What could be the possible causes for this behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 07:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-is-not-able-to-open-a-table/m-p/741178#M283</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2020-08-11T07:09:11Z</dc:date>
    </item>
  </channel>
</rss>

