Share via


How to Build Server Application Objects

If you import a .fob file that contains objects that were exported from a native Dynamics NAV database, then those objects do not contain the C# and metadata information that is required for Microsoft Dynamics NAV Server. Additionally, if you import a .fob file that contains the C# and metadata information but the information is from an earlier version of Dynamics NAV, then the information may be in an incompatible format. In these cases, you must build the server application objects. If you do not build the server application objects, then these objects cannot be run. Building the server application objects does the following:

  • Recompiles the objects.

  • Regenerates the C# and metadata information for the objects.

  • Updates the record in the Object Metadata table for each object.

Note

In Dynamics NAV 2009, you used the Enable for Microsoft Dynamics NAV Server option to specify that when you compiled objects, you also wanted to regenerate the C# and metadata information. In Microsoft Dynamics NAV 2018, the Enable for Microsoft Dynamics NAV Server option has been removed from the Options tab in the Alter Database window.

To build server application objects

  1. In the development environment, on the Tools menu, choose Build Server Application Objects.

  2. In the dialog box, choose the Yes button.

    If errors occurred, then the Error List window opens.

See Also

Importing and Exporting Objects