Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
I've just recently upgraded from CU1 to CU2 of Business Central on-premises and now I can't synchronise the schema via Powershell & the NAV RTC will not run at all.
The error makes no sense as I've closed all sessions and other than the BC130 service nothing is accessing the database (other than my Powershell command).
The exact error is:
sync-navtenant : The operation could not complete because a record was locked by another user. Please retry the activity.
At line:1 char:1+ sync-navtenant bc130+ ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (0:Int32) [Sync-NAVTenant], NavCommandException + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$bc130,Microsoft.Dynamics.Nav.Management.Cmdlets.SyncNavTenant
This worked fine in CU1 but I have to use CU2 so I have the latest objects and application for 'Making Tax Digital'.
In CU2 I can still compile the tables 'with validation' perfectly.
But attempting to run the RTC produces the following error: 'The system is not accessible'.
This is a very frustrating show-stopper as I have no clue what is causing this & can't get past it. PLEASE help!?
Thanks for your quick reply.
It took me a long time as well. Part of our solution is to check things at source side as well. We upgrade from NAV2017 CU17. Customers started at NAV2017 CU3. I added recompiling system tables and syncing existing schema in source side as well, because when you just start on any NAV2017 database this is not Always going to work out. So maybe you can check/sync/upgrade in source side first?
I know workaround of NavDataExport. But can't use this for customer database upgrades.
We do not have any customization in system tables (200000000..). So I would like to know what kind of data could be lost in system tables [200000000..] if we use force option. So waiting for confirm of MS (Can we use this force option in compiling system tables when upgrading customer production databases?).
Please see this blogpost about most probable cause you would hit this issue: community.dynamics.com/.../technical-upgrade-to-business-central-cumulative-updates-02-05-tenant-synchronization-issue
Received an answer from microsoft, and got it working again:
"The way we saw how to work around this, is simply if you can make sure, with a fresh backup of this databse after converting it in the new version, and directly compile and synchronize system tables before doing anything else, sometimes also the sync with force is the ultimate solution here. Once you do this with the system table first, the rest should not be an issue."
So after converting, compile the system tables with force first before continuing your upgrade script.
But be aware, when doing the actual upgrade with "Start-NavDataUpgrade -ServerInstance <instancename> " , I received several "a record was locked by another user" errors. I had to resume the Upgrade several times, and also remove all add-in records.
Check why the upgrade faildes with Get-NavDataUpgrade -ServerInstance <instancename> -ErrorOnly. And also try to resume the upgrade from the developer environment.
Hi all, I tried all your ideas, no success. For me this helps:
("My solution" at the end of the post)
Business Applications communities