Hello Everyone,
For i while i'm trying to make a 2013 tenant database upgrade to 2016. I use powershell to this, but when i sync the tenant, i get following error:
you do not have permission to run codeunit data upgrade. execute. I searched on forums, and someone had the same issue. I have a developer license, and importet it to the database. Can anybody provide me a workaround or a actual solution.
The thing is, when i force sync the tenant, the error disapears, but i want to sync with validiate.
I created myself as SUPER user on tenant database, but thats not enough i think
*This post is locked for comments
This is absolutely data problem, some data is corrupted
Please close this post if your initial issue is solved and create a new one.
thanks for the reply Maneesha. I solved the permission issue, now when i run the upgrade, i get below error.
CodeunitId : 104025
FunctionName : UpdateItemNextCountingPeriod
StartTime : 3/27/2017 1:37:57 PM
Duration :
State : FailedPendingResume
Error : The UPG Item does not exist. Identification fields and values: No.='1000'
Hi ,
If you correctly install developer license and still you get this means you don't have manipulation access to DB
make your user as DB user
i DID IT, and now it work. but when i ran upgrade process, got following error.
Sync-NAVTenant : The schema synchronization may result in deleted data. The following destructive changes were detected:
Table: 372, Payment Buffer
Field: 170, Creditor No.: Length reduced
Field: 171, Payment Reference: Length reduced
Examples of code to migrate data:
DataUpgradeMgt.SetTableSyncSetup(DATABASE::"Payment Buffer",[Upgrade Table Id],TableSynchSetup.Mode::[Mode]);
I don't think it is an license issue now. I cannot continue the process.
when you say import, is it Upload? did you restart service after upload?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156