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

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

RTC Report It is not possible to instantiate the Visual Studio bridge.

Hi all, As a Navision developers I have Multiple Versions of Navision running in single Machine. As discussed Earlier in the post how to run multiple Version of RTC in single machine. So my machine have following details for RTC Versions - NAV 2009 R2    - is installed. NAV 2009 SP1  - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 SP1 IN\ NAV 2009         - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 IN\ This approach has been working great for execution of Classic and RTC Clients. However, after installing Dynamics NAV 2009 R2, if i tried to view the Layout for an NAV 2009 SP1 Report i was getting the following error: ---------------------------  Microsoft Dynamics NAV Classic  ---------------------------  It is not possible to instantiate  the Visual Studio bridge.  ---------------------------  OK    --------------------------- After searchi...

NAV 2013 R2 - Cumulative update 12 Released.

Hi all, Please find below the details of  Cumulative Update 12 released for Microsoft Dynamics NAV 2013 R2. Title - Cumulative Update 12 for Microsoft Dynamics NAV 2013 R2 Build No. - 38053 Release Date - October, 2014 Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK, RU Download Link Note: Implementing this cumulative update will require a database conversion unless you have already implemented update rollup 5.