<?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: Cannot execute as the database principal because the principal ..... in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297403#M17047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I set sde as owner and also as sysadmin, but the same error .... any new ideea ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Nov 2010 06:22:55 GMT</pubDate>
    <dc:creator>DanDumitrescu</dc:creator>
    <dc:date>2010-11-29T06:22:55Z</dc:date>
    <item>
      <title>Cannot execute as the database principal because the principal .....</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297401#M17045</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 use a virtual machine Windows 2008 r2 with SQL Server 2008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I uninstall all ArcGis 9.3.1 sofware and install back ArcGis version 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to upgrade my database from 9.3.1 to 10 in ArcCatalog I receive this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing: UpgradeGDB "Database Connections\test2.sde" PREREQUISITE_CHECK UPGRADE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Fri Nov 26 15:35:09 2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paused the database for upgrade.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are no other active connections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;User has privileges required to upgrade.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running Pre-Requisite check (C:\Users\&amp;lt;user name&amp;gt;\AppData\Roaming\ESRI\Desktop10.0\ArcCatalog\test2.sde).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instance supports XML type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking datasets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking dataset (sde.DBO.poi).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check succeeded (sde.DBO.poi).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking dataset (sde.DBO.Intersectii).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check succeeded (sde.DBO.Intersectii).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking dataset (sde.DBO.RuteOcolitoare).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check succeeded (sde.DBO.RuteOcolitoare).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked datasets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking representations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked representations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking domains.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked domains.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking replicas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked replicas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking historical markers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking historical marker (DEFAULT).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check succeeded (DEFAULT).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked historical markers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished checking prerequisites.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE server tables and stored procedures are up to date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bad login user [Microsoft SQL Server Native Client 10.0: Cannot execute as the database principal because the principal "sde" does not exist, this type of principal cannot be impersonated, or you do not have permission.]Bad login user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unpaused the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (UpgradeGDB).Failed at Fri Nov 26 15:35:10 2010 (Elapsed Time: 1.00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I must specify that I'm not an expert in SQL Server ... also sde user in SQL it has the following roles: sysadmin and public. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help whould be apreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ty in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: sorry if I post in wrong section. But I didn't find any section for ArcSDE !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2010 11:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297401#M17045</guid>
      <dc:creator>DanDumitrescu</dc:creator>
      <dc:date>2010-11-26T11:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot execute as the database principal because the principal .....</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297402#M17046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks like you are trying to do the upgrade as a "user" and not the "owner" of the SDE. You can make changes to the user group in SQL so that you are the owner of the SDE.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 16:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297402#M17046</guid>
      <dc:creator>denisedavis</dc:creator>
      <dc:date>2010-11-27T16:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot execute as the database principal because the principal .....</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297403#M17047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I set sde as owner and also as sysadmin, but the same error .... any new ideea ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 06:22:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297403#M17047</guid>
      <dc:creator>DanDumitrescu</dc:creator>
      <dc:date>2010-11-29T06:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot execute as the database principal because the principal .....</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297404#M17048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I don't have any other ideas without sitting in front of your computer. I hope someone else can think of something for you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 13:47:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297404#M17048</guid>
      <dc:creator>denisedavis</dc:creator>
      <dc:date>2010-11-29T13:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot execute as the database principal because the principal .....</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297405#M17049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="font-family:&amp;quot;Garamond&amp;quot;;"&gt;In a lot of cases this has to do with trying to connect as another user other than the SDE administrative user. When a database authenticated SDE login and user existed and a database was migrated from another server via backup/restore or detach/attaching the SDE login/user will need to be synchronized using the sp_change_users_login within SQL Server Management Studio. You'll need to be connecting as the SDE administrative user via direct connect in ArcCatalog in order to do the upgrade, so after this login/user are synched in the database you'll be able to connect and perform the upgrade as this user.&lt;BR /&gt;&lt;BR /&gt;Take a look through the following KB article and see if this helps any!&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HowTo: Re-synch SQL Server logins or users after restoring a database from backup &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=29672" rel="nofollow"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=29672&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 11:06:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/297405#M17049</guid>
      <dc:creator>MelissaJarman</dc:creator>
      <dc:date>2010-12-30T11:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot execute as the database principal because the principal .....</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/1349404#M44779</link>
      <description>&lt;P&gt;I'm having this exact same issue 13 years later in ArcGIS Pro 3.2 - does anyone have any suggested reading or how to I hit 'Run Upgrade' on a 10.4.1 geodatabase from the Catalog view in Pro? I'm seeing the exact same error as above as DBO owner...&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 21:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/1349404#M44779</guid>
      <dc:creator>MichaelAugust</dc:creator>
      <dc:date>2023-11-14T21:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot execute as the database principal because the principal .....</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/1349591#M44780</link>
      <description>&lt;P&gt;If you are using the Pro 3.2 client for the upgrade, it may be due to version of the geodatabase. You will need to do an intermediate upgrade to 10.6.1 or newer first, then you can go to Pro 3.2. I did notice that you can use &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/help/data/geodatabases/manage-sql-server/upgrade-geodatabase-sqlserver.htm" target="_blank" rel="noopener"&gt;Pro 3.0.&lt;/A&gt;x as it will upgrade from 10.4.1.&lt;/P&gt;&lt;P&gt;Pro 3.2 help:&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/upgrade-geodatabase-sqlserver.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/upgrade-geodatabase-sqlserver.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;BLOCKQUOTE&gt;You can upgrade directly from a &lt;U&gt;&lt;STRONG&gt;10.6.x, 10.7.x, 10.8.x, 10.9.x, or 11.x&lt;/STRONG&gt;&lt;/U&gt; geodatabase if your database release is supported for the ArcGIS version to which you upgrade.&lt;P&gt;If&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SQL Server&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is not at a release supported for the geodatabase version you upgrade from and the geodatabase version you upgrade to, you may have to upgrade the database and geodatabase multiple times before you can upgrade the geodatabase to the latest version.&lt;/P&gt;&lt;P&gt;For each intermediate geodatabase upgrade, follow the upgrade instructions for that geodatabase version, and test the geodatabase as you move from version to version.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Nov 2023 11:36:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/1349591#M44780</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2023-11-15T11:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot execute as the database principal because the principal .....</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/1349742#M44781</link>
      <description>&lt;P&gt;Thanks George - that's super helpful!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 16:14:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-execute-as-the-database-principal-because/m-p/1349742#M44781</guid>
      <dc:creator>MichaelAugust</dc:creator>
      <dc:date>2023-11-15T16:14:30Z</dc:date>
    </item>
  </channel>
</rss>

