Udostępnij za pośrednictwem


Development Environment (C/SIDE)

You use the Microsoft Dynamics NAV Development Environment to develop Dynamics NAV applications. In earlier versions of Dynamics NAV, this component was also an end-user client, but this changed in Microsoft Dynamics NAV 2013.

The administrator who installs Microsoft Dynamics NAV 2018 automatically has access to the Dynamics NAV database in the development environment. To grant another user permission to work with a particular Dynamics NAV database with development environment, grant that user db_owner role on the database in SQL Server Management Studio. To grant another user permission to create new databases in development environment, grant that user the dbcreator and securityadmin Server Roles for the Dynamics NAV SQL Server instance in SQL Server Management Studio. For information about how to grant these roles, see Setting Database Owner and Security Administration Permissions.

Warning

If you install the development environment on a 64-bit computer and you do not install any other Dynamics NAV components, you may receive the following message:

The program cannot start because MSVCP100.dll is missing.

If you see this error message, download and install the Microsoft Visual C++ 2010 Redistributable Package (x86). You can then run the development environment.

Object Designer

When you open the development environment, you can open Object Designer, which gives you access to Dynamics NAV objects. You use Object Designer to modify the application or to create new application areas. For more information, see Object Designer).

If you migrate your solution to a multitenant deployment architecture, Microsoft Dynamics NAV Development Environment can only access the application database. For more information, see Multitenant Deployment Architecture.

Debugging with the Microsoft Dynamics NAV Development Environment

If you use the development environment for debugging and want to be able to set breakpoints, the following must be true:

  • You must be a Dynamics NAV user. See How to: Create Microsoft Dynamics NAV Users.

  • You must have a Login for the Dynamics NAV database. You must also assign that Login the db_owner database role. Use SQL Server Management Studio to create logins and assign roles. See Setting Database Owner and Security Administration Permissions for detailed information.

    There are additional requirements exist if you are using NavUserPassword or AccessControlService authentication:

  • Your Login for the Dynamics NAV database must match your User Name in Dynamics NAV.

  • You must connect to the database using Database Authentication.

    See Users and Credential Types for an overview of authentication options for Dynamics NAV.

Other Uses

You use the development environment to create and manage Dynamics NAV databases and to upload or change Dynamics NAV licenses. However, you cannot use the Microsoft Dynamics NAV Development Environment to administrate your solution. Instead, you use the Microsoft Dynamics NAV Server Administration tool or the Dynamics NAV Windows PowerShell cmdlets.

See Also

Developing Extensions Using the New Development Environment - Preview
Microsoft Dynamics NAV Server Administration Tool
Administration in the Development Environment
Setting Database Owner and Security Administration Permissions
License Types
Breakpoints
Walkthrough: Debugging the Microsoft Dynamics NAV Windows Client