This topic describes how to work with Microsoft Dynamics NAV Server instances in the Microsoft Dynamics NAV Server Administration tool and in the Services MMC snap-in. For more information about how to create a Microsoft Dynamics NAV Server instance, see How to: Create a Microsoft Dynamics NAV Server Instance. For more information about the settings that you can configure in a Microsoft Dynamics NAV Server instance, see Microsoft Dynamics NAV Server Settings.

Each Microsoft Dynamics NAV Server instance on a computer runs as a separate Windows service and can run under a separate computer account, which is the Service Account.

In the Services snap-in, which is included in Control Panel, you can find instances that you have created under the Microsoft Dynamics NAV Server entry. The default instance is identified as Microsoft Dynamics NAV Server [DynamicsNAV70]. Any instances that you create are identified by Microsoft Dynamics NAV Server, following by the instance name in brackets. For example, if you create a Microsoft Dynamics NAV Server instance and name it Denmark, the Services snap-in shows the following instances:

Server Instances and Service Types

In Microsoft Dynamics NAV Server Administration tool, settings for a server instance are organized into tabs and then organized by service type.

Setting Applies to

General

All types of services.

Client Services

Microsoft Dynamics NAV Windows client, Microsoft Dynamics NAV Web client, and Microsoft Dynamics NAV Portal Framework for Microsoft SharePoint 2010.

OData Web Services

OData web services.

SOAP Web Services

SOAP web services

NAS Services

Microsoft Dynamics NAV Application Server (NAS) services.

Management Services

Services for managing Microsoft Dynamics NAV Server on the computer.

For more information about the different service types, see Client Types.

You should recognize and understand the difference between server instances and service types.

A server instance is a distinct service in Windows and is the middle tier in the Microsoft Dynamics NAV three-tier architecture. For more information, see Product Architecture.

A service type is a category within a Microsoft Dynamics NAV Server instance.

Important
When you modify a permission set or modify permissions for a user, you must restart all Microsoft Dynamics NAV Server instances in the database for those changes to take effect. The exception is for the current instance—that is, the instance that the client (the Microsoft Dynamics NAV Windows client or the Microsoft Dynamics NAV Web client) is using when the changes are made. There is no need to restart this instance. It is also necessary to restart Microsoft Dynamics NAV Server instances if you modify permissions sets or user permissions using the Microsoft Dynamics NAV Windows PowerShell cmdlets.

Managing Different Types of Services from a Single Microsoft Dynamics NAV Server Computer

When you change the value of any setting in any service category, you must restart the Microsoft Dynamics NAV Server instance for the change to take effect. Restarting the instance affects all services types within that instance. For example, Microsoft Dynamics NAV Windows client and Microsoft Dynamics NAV Web client users are disconnected, and web service applications are interrupted. Therefore, if you plan to run different types of services on a single computer running Microsoft Dynamics NAV Server, we recommend that you run different services types in separate service instances. Your computer should have sufficient memory to run multiple service instances. For example, if you plan to use both the Client Services and OData Web Services on a single computer running Microsoft Dynamics NAV Server, then you should run the Client Services in one server instance and the OData Web Services in a separate server instance. If you have to change an OData web services setting, then you do not affect Microsoft Dynamics NAV Windows client users when you restart the instance to enable the change.

To disable a service type, clear the Enable property on the relevant tab. The only service type that does not have an Enable property is NAS Services. To disable NAS Services, set NAS Startup Codeunit on the NAS Services tab to 0. For more information, see Configuring NAS Services.

Configuring a Microsoft Dynamics NAV Server Instance

A list of instances is shown in the left pane of the Microsoft Dynamics NAV Server Administration tool. In this procedure, you configure a Microsoft Dynamics NAV Server instance.

To configure a Microsoft Dynamics NAV Server instance

  1. In the left pane of the Microsoft Dynamics NAV Server Administration tool, choose an instance.

  2. At the bottom of the center pane, choose Edit.

  3. Modify settings for the instance.

    For details, see Configuring Microsoft Dynamics NAV Server.

  4. At the bottom of the center pane, choose Save.

  5. Restart the instance (see below).

Starting, Stopping, or Removing a Microsoft Dynamics NAV Server Instance

When you select a Microsoft Dynamics NAV Server computer in the left pane of Microsoft Dynamics NAV Server Administration tool, it shows all server instances on that computer in the center pane.

In this procedure, you start a stopped server instance or stop a running server instance.

To start or stop a Microsoft Dynamics NAV Server instance

  1. In the left pane of Microsoft Dynamics NAV Server Administration tool, choose a Microsoft Dynamics NAV Server computer.

    Unless you are administering a remote computer, this is Microsoft Dynamics NAV (local).

  2. In the center pane, right-click an instance, and then choose Start, Stop, or Restart.

    Choosing Restart will stop and then start the instance again.

    You can also remove a server instance by choosing Remove.