Install Second NAS as Service

How come, when installing a second NAS (manualy) the servicename is AppServer_SQL? I expect the name to be “nas2”. The Navision Attain version is 3.10 The commandline used is: nassql appservername=nas2, servername=SERVER03, database=“Database”, company=“Cronus”, startupparameter=BVL nassql installasservice

It should all be in the same command like this: nassql appservername=nas2, servername=SERVER03, database=“Database”, company=“Cronus”, startupparameter=BVL, installasservice //Lars

Thanks…

Hi, when I try adding a new instance of NAS for SQL from the command line, I recieve the following error: command entered: C:\Program Files\Microsoft Business Solutions-Navision\Application Server II>nas sql appservername=SQL2, servername=rtaranti08068, database=“Navision Demo Databa se”, company=“Cronus Canada, Inc.”, startupparameter=CG installasservice result: Date: 01/16/04 - 10:42:01 AM: 10:42:01 AM: Navision Application Server version 3.70 (Build 13164) 10:42:01 AM: Copyright (c) 1987-2003 Microsoft Business Solutions ApS 10:42:01 AM: - 10:42:01 AM: The combination of user ID and password entered is invalid. Try a gain. - 10:42:01 AM: The Navision Application Server SQL2 could not initialize properl y. 10:42:01 AM: The server will attempt to initialize every 30 seconds until this is successful. 10:42:01 AM: - 10:42:03 AM: The Navision Application Server will shut down when the processin g of the current request has finished. 10:42:03 AM: - 10:42:03 AM: The Navision Application Server SQL2 was shut down. 10:42:03 AM: Why is the utility looking for a user id and password? Is there a parameter missing? -Robert

Change the logon credentials for the new NAS service.

I have a problem in installing a second NAS as a service. The command i used was: nas appservername=virtualpc-classic2, servername=virtualpc, company=“CRONUS2”, startupparameter=SS, nettype=TCP, installasservice the result was: Date: 07/06/05 - 10:02:06 AM: 10:02:06 AM: Navision Application Server version 4.0 (Build 19365) 10:02:06 AM: Copyright (c) 1987-2004 Microsoft Corporation 10:02:06 AM: - 10:02:06 AM: The operating system returned the error (1072): 10:02:06 AM: 10:02:06 AM: The specified service has been marked for deletion. 10:02:06 AM: However, I could run the NAS if i am not installing as Service.

Hi, I got the same error message when installing NAS for 4.0. For me it turned out that the Windows server machine I tried installing it on, was set up as a terminal server (If I remember correctly it was in Application Mode, when it should be Remote Administration, or something like that. This under Terminal Server Configuration). When changing that, it worked like a charm. Regards Daniel

Don’t forget the parameter nettype=tcp the default value tcps does not work, and the NAS manager for SQL will not let you change this property.

quote:

the result was: Date: 07/06/05 - 10:02:06 AM: 10:02:06 AM: Navision Application Server version 4.0 (Build 19365) 10:02:06 AM: Copyright (c) 1987-2004 Microsoft Corporation 10:02:06 AM: - 10:02:06 AM: The operating system returned the error (1072): 10:02:06 AM: 10:02:06 AM: The specified service has been marked for deletion. 10:02:06 AM: However, I could run the NAS if i am not installing as Service.
Originally posted by jordi79 - 2005 Jul 06 : 04:09:22

Your problem is that You are trying to install the nas service under the same name as one you just have uninstalled. This is why You get the message “the service is marked for deletion”. Restart the server and try again. Then the previos instance of the service should have been deleted.

quote:

Hi, I got the same error message when installing NAS for 4.0. For me it turned out that the Windows server machine I tried installing it on, was set up as a terminal server (If I remember correctly it was in Application Mode, when it should be Remote Administration, or something like that. This under Terminal Server Configuration). When changing that, it worked like a charm. Regards Daniel

Hi Daniel, I have gone throught the MS documentation. The only way to remove the Application Mode is to remove the Terminal Server, which have a huge impact on the server. Can you recall if this is what you did on your Win2003 server?

quote:

Hi, when I try adding a new instance of NAS for SQL from the command line, I recieve the following error: command entered: C:\Program Files\Microsoft Business Solutions-Navision\Application Server II>nas sql appservername=SQL2, servername=rtaranti08068, database=“Navision Demo Databa se”, company=“Cronus Canada, Inc.”, startupparameter=CG installasservice result: Date: 01/16/04 - 10:42:01 AM: 10:42:01 AM: Navision Application Server version 3.70 (Build 13164) 10:42:01 AM: Copyright (c) 1987-2003 Microsoft Business Solutions ApS 10:42:01 AM: - 10:42:01 AM: The combination of user ID and password entered is invalid. Try a gain. - 10:42:01 AM: The Navision Application Server SQL2 could not initialize properl y. 10:42:01 AM: The server will attempt to initialize every 30 seconds until this is successful. 10:42:01 AM: - 10:42:03 AM: The Navision Application Server will shut down when the processin g of the current request has finished. 10:42:03 AM: - 10:42:03 AM: The Navision Application Server SQL2 was shut down. 10:42:03 AM: Why is the utility looking for a user id and password? Is there a parameter missing? -Robert

Hi Robert, I assume that your NAS is running in a domain. If you read the NAS documentation, it mentions that the NAS service has to be authenticated in the domain. (don’t ask me why… it just works that way). To do this: 1. make sure that the NAS service is started with a domain login and not system account 2. in the Navision database, add the domain login as a windows user this should solved the user id error. jordan

Hi Jordan, I don’t remember exactly what we did. It was a Win2000 machine, and I think we removed the Terminal Services from under Windows Components (In add/remove program). I remember that the server had to be restarted, but we didn’t have to re-install anything, everything worked just fine. /Daniel