Resolving My Settings Page Implementation After a Database Conversion

When you convert a Microsoft Dynamics NAV 2016 database, the My Settings page in the Business Central Web client will not work properly. This article explains how to resolve the problem.

  1. Modify Codeunit 40 LogInManagement:

    1. In the AL code, add a global function that has the following properties:

      Property Value
      Name OpenSettings
      ID 65
      Local No
      2. Add the following code to the **OpenSettings** function: ``` PAGE.RUN(PAGE::"My Settings"); ```
    2. Modify page 9176 My Settings:

      In AL code, replace the code on the local function GetTimeZone with the following code.

      TimeZone.SETRANGE(ID,TimeZoneID);
      IF TimeZone.FINDFIRST THEN
          EXIT(TimeZone."Display Name");
      

    See Also

    Converting a Database