Mogli
Mogli

Reputation: 2012

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 enter image description here

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

enter image description here

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

Upvotes: 0

Views: 507

Answers (2)

Jonathan Bravetti
Jonathan Bravetti

Reputation: 2236

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).

Upvotes: 0

Mak Sim
Mak Sim

Reputation: 2334

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.

Upvotes: 1

Related Questions