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 -
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/
NASSnapIn.msc didn’t work, but when I first installed NAV client and after that the NAS then NASSnapIn.msc worked correct.
ReplyDelete