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!?