Skip to main content

How to Install Navision Application Server (NAS)?


Hi all,

While trying to install NAV Application Server(NAS), i faced lots of challenges. So i thought to prepare a How to install NAS.

Remember some Points before you start -

1) NAS Require a Windows Login to start.
This is because it is a service and it is not possible to define a database login in a service. So you need to create a login in the domain or on the server to do it.

2) SYSADMIN Rights to Windows Login in SQL Server.
Now you have your Windows login, but this login has NO rights yet in SQL-server. So you need to create that Windows-login in SQL-server and make him sysadmin. See the manual on how to do that in SQL.



3) Navision Login.
You need a Navision SUPER-user to create the account also in the Navision database.
Tools - Security - Windows login and give your Windows user the SUPER role. Now you have everything ok for the security.

4) Licence File.
For Setting up NAS we need a Valid Licence file inside the Application Server folder with name as Cronus.flf.

Install NAS
Take the installation CD, and launch the \Nas\setup.exe file. Just accept all defaults.

Post installation Issues
I noticed that in some cases the NASSnapIn.msc doesn’t work, so I cannot control/change the
NAS-settings in an easy way by setting it up manually.

Manual Installation Steps / Easy One 

0) Copy the application server folder to the location where you want, in my case i keep it
    C:\Program Files (x86)\Microsoft Dynamics NAV\60

1) Start Command Prompt.

2) Move to the directory where NAS Intallation using CD, in my case its -
    C:\Program Files (x86)\Microsoft Dynamics NAV\60\Application Server\

3) Run Command nassql.exe

Updated command thanks to Peter Pardon
New -
nassql.exe appservername=INDEL-SXD6995N2-SQL, NETTYPE=TCP, servername=INDEL-SXD6995N2,database="Demo Database NAV (6-0)", company="CRONUS India Ltd.", nettype=tcp,startupparameter=”JOBQUEUE”, objectcache=40000, installasservice

OLD - 
   nassql.exe appservername=INDEL-SXD6995N2-SQL, NETTYPE=TCP, servername=INDEL-SXD6995N2,database="Demo Database NAV (6-0)", company="CRONUS India Ltd.", nettype=tcp,startupparameter=”JOBQUEUE”, objectcache=40000, installasservice

Where
      appservername - is the name of service that has been installed by NAS Installer.
      Servername    - is the name of SQL Server where database Resides.
      database        - is the database name on the SQL Server.
      Company       - is the company name in the database where you want to run NAS.
      Startupparmerter - is the parameter for Startup (you can search for NAS in Codeunit 1, Function NASHandler).
     

4) The NAS Installation is successfully completed.

Now try to run the service & then NAS SNAPIN, it will be started succesfully.

5) You can change the startupparemeter from the NASSNAPIN. Suppose i plan to run a report while my startup parameter is SUPPORT. so i customize the NASHANDLER function in Codeunit 1 as shown below.



Thanks & Regards,
Saurav Dhyani
http://saurav-nav.blogspot.in/

Comments

  1. NASSnapIn.msc didn’t work, but when I first installed NAV client and after that the NAS then NASSnapIn.msc worked correct.

    ReplyDelete

Post a Comment

Popular posts from this blog

BC 21 and Higher - PowerShell Cmdlet (Replacement of Business Central Administration).

Hi Readers, As discussed in last article about deprecating of Business Central Administration, there are few common actions that we use in administration till Business Central 20. For our on-prem customers, we will still require doing activities. As Microsoft suggest we need to start using PowerShell cmdlet.    Let's see how to do those via PowerShell, or Administration Shell. I will be keep adding commands as you comment to this article.

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing - 

MSDYN365BC - Data Upgrade To Microsoft Dynamics 365 Business Central on premises.

Hi Readers, We have already talked about the number of steps for upgrading to Business Central on Premises from different NAV versions. After that article, I received multiple requests for an article which list down steps for Data Migration. In this article, we will discuss steps of data migration to MSDYN365BC (on-Prem) from NAV 2017. For this article, I am considering a Cronus Demo Database without any customization. For an actual upgrade project, we will have to complete object merge using compare and Merge process. After the Merge Process, the next step is data migration. Let's discuss those steps. Direct Upgrade to Microsoft Dynamics 365 Business Central (on-Prem) is from following versions - 1. NAV 2015. 2. NAV 2016. 3. NAV 2017. 4. NAV 2018.