Compartir a través de


How to: Build Server Application Objects

If you import a .fob file that contains objects that were exported from a native Microsoft 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 Microsoft 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 Microsoft 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 2015, 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

Concepts

Importing and Exporting Objects