Posts: 6
Threads: 2
Joined: Jun 2024
Reputation:
0
I am coming from version 2026 Patch 5.
When doing the Database upgrade with sa SQL User I get the following error:
Shared database key initialization failed: User does not have permission to perform this action.
at CloudAdminCommon.Helper.UpgradeHelper.UpgradeSharedCredentialsToDatabaseScope(String databaseMasterKeyPassword)
at CloudAdminCommon.Helper.UpgradeHelper.RunDatabaseUpgrade(DatabaseScriptParameter scriptParams, BackgroundWorker backgroundWorkerDatabaseUpdate)
Posts: 1,299
Threads: 3
Joined: Sep 2022
Reputation:
41
Hi,
Check if sa user have db_owner access or control or sysadmin access
Thank You,
Pavan
Posts: 6
Threads: 2
Joined: Jun 2024
Reputation:
0
If I do a SELECT IS_SRVROLEMEMBER('sysadmin', 'sa') AS IsSysAdmin; I get a 1 therefor I guess it should have sysadmin access.
Posts: 12,342
Threads: 127
Joined: Aug 2006
Reputation:
242
For migration we need sa user - that is also mentioned in Database Update Wizard
Regards/Gruss
Oliver
Posts: 6
Threads: 2
Joined: Jun 2024
Reputation:
0
I'm using the sa user for the migration, so I don't understand the last post. Or am I misunderstanding something?
Posts: 12,342
Threads: 127
Joined: Aug 2006
Reputation:
242
Sorry - yes you are right - we checked again - and it seems that parts of the migration are running with the configured Access User - not the sa-User - we will fix it
Workaround would be to configure sa-Account for your database access - then run the migration and revert your access user
We will fix it - but just released Patch2 - we can also provide Beta version (on Monday)
Regards/Gruss
Oliver
Posts: 6
Threads: 2
Joined: Jun 2024
Reputation:
0
Regarding the workaround:
Where should I configure this database access? I have configured sa user inside Rocket Remote Desktop Application and tried the upgrade again but same error. So I guess this was the wrong place.
Regarding the fix:
Do you have a rough date for the fixed version?