简体   繁体   中英

Creating Navision service using Navision application server?

I am trying to create a service. I am using nassql.exe, this is what I have done 在此处输入图片说明

But It's not added into the list of services, like

在此处输入图片说明

I am new to Navision, what I need to do for creating it as a service like above two by default services. Thanks.

You missing a parameter installasservice .

nassql.exe appservername=TheNasName, servername=TheServerName, database=TheDatabaseName, company="The Company", nettype=tcp, startupparameter=SomeStartupParameter, installasservice

Without this parameter you launching NAS from comandline. For example to debug it.

There is also uninstallasservice parameter to remove previously installed service.

try this:

nassql.exe appservername=JB-xx23NAV-SQL, servername=JB-xx23NAV,database="Demo Database NAV (6-0)", company="CRONUS India Ltd.", nettype=tcp,startupparameter=”JOBQUEUE”, objectcache=40000, installasservice
  • 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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM