AL
AL copied to clipboard
Upgrade to BC20 issue - Local socket timeout was 10675199.02:48:05.4775807 when upgrading Base Application
1. Describe the bug During Task 9 Upgrade Data from BC18.0 to BC20.0, when upgrading Base Application (20.0.37253.38230) immediately error occurs:
WARNING: UnhandledErrorMessage
Start-NAVAppDataUpgrade : The socket connection was aborted. This could be caused by an error processing your message or a receive timeout
being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '10675199.02:48:05.4775807'.
At line:1 char:1
+ Start-NAVAppDataUpgrade -ServerInstance BC200 -Name "Base Application ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Start-NAVAppDataUpgrade], CommunicationException
+ FullyQualifiedErrorId : System.ServiceModel.CommunicationException,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.StartNavAppDataUpgrade
This also triggers 8 events in Event Viewer, starting with this:
The description for Event ID 701 from source MicrosoftDynamicsNavServer$BC200 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Server instance: BC200
Category: EventSubscription
ClientSessionId: b08fec1d-1c56-4e71-ab85-95927f3eb3fb
ClientActivityId: bf6042d5-3f60-48c2-8569-59b075204650
ServerSessionUniqueId: fcafcecf-8ad5-43bc-a6a3-7cfd75da3f5c
ServerActivityId: 3b631b00-c0bf-4a72-bcb3-5f6895e4ce2c
EventTime: 05/28/2022 22:10:57
Message (NavEncryptionKeyNotFoundException): EventSignature failure: SubScriber assy = Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104020, COD_104020_8C2F730372F1DB513A6FD86D48860AD468D6D34E6182C25C1D990168FE661048, Version=20.0.37114.38150, Culture=neutral, PublicKeyToken=null, target assy = Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104020, COD_104020_8C2F730372F1DB513A6FD86D48860AD468D6D34E6182C25C1D990168FE661048, Version=20.0.37114.38150, Culture=neutral, PublicKeyToken=null, Subscriber signature = 'System.Void Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104020.OnUpgradePerCompany()', target signature = 'Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104020Upg Secrets to Isol. Storage[ID=104020]()'
RootException: NavEncryptionKeyNotFoundException
Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.Encryption.NavEncryptionKeyNotFoundException' was thrown.
2. To Reproduce Standard upgrade procedure.
3. Expected behavior To finalize Base Application upgrade.
4. Actual behavior As above.
5. Versions:
- AL Language: n/a
- Visual Studio Code: n/a
- Business Central: 20.0.37253.38230
- List of Visual Studio Code extensions that you have installed: on request (almost plain)
Self solved by uninstalling one of extensions and temporarily removing records from T6300.