Hi,
I have installed the Navision Client, and now I am trying to install the NAS and I got two services in my service list:
NAS-CLASSIC and NAS-SQL
But neiter service will start, I get an error msg: Error 1 - Incorrect Function
Does someone here know what I did wrong ?
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
nas appservername=nas1, servername=MACHINENAME, company="Cronus International Ltd.", startupparameter=p
But I get this error when I try to:
Date: 11.02.05
- 11:19:49:
11:19:49: Navision Application Server version 4.0 (Build 19365)
11:19:49: Copyright (c) 1987-2004 Microsoft Corporation
11:19:49:
- 11:19:49: The TCP/IP connection's 'host' is not answering (TCP/IP error ECONNR
EFUSED).
11:19:49:
11:19:49: You can see how to make changes to your 'hosts' and 'services' files
in the documentation for the network. Contact your system manager if you need a
ssistance.
- 11:19:49: The Navision Application Server nas1 could not initialize properly.
11:19:49: The server will attempt to initialize every 30 seconds until this is
successful.
11:19:49:
- 11:19:52: The Navision Application Server will shut down when the processing o
f the current request has finished.
11:19:52:
- 11:19:52: The Navision Application Server nas1 was shut down.
11:19:52:
The Machinename is the name of the computer that holds both the Navision Database server and the NAS service.
Do you know what I am doing wrong ? :-k
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Have you some firewall (Win XP + SP2)? You must open the standard port.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
#-o
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
What services file were you talking about earlier? Where can I find that ?
Still same error? Or another when loopback (localhost) used...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Yes I get the same error for all three versions, 127.0.0.1, localhost, MachineName....
Maybe redundant to say, but
nas1 = NAS-CLASSIC....
Try using the Navision Attain Application Server Manager
Best regards
Henrik Ohm
Henrik Ohm
can you try this on e
>nas appservername="nas1", servername="MACHINENAME", company="Cronus International Ltd.", startupparameter=p
Please make sure that for running NAS you are having Windows Administrator rights.
you can set it from properties of nas in services on Log-On tab.
Try this pal may be it will work.
Consultant -Navision
All e Technologies (P) Ltd.
Building Solutions for Extended Enterprises
www.alletec.com
My Event Viewer had this message for me:
Correct me if I am wrong, but the "startupparameter" does that not specify what codeunit inside codeunit 1 you want to trigger to run ?
I put the "Machine name" in the line where it said: Database Server name
I put nothing in the line where it said: Database
I put "CRONUS International Ltd." where it said Company
I put "testcode"(the name of my codeunit) in the line where it said start-up parameter
The startup parameter testcode must be in the codeunit 1 - function ID 99, and you can add a call to your codeunit under that parameter.
And make sure that you check in your setup:
- Go to that NAS service in the services and you must set it up to use window log in, i.e. tich the log os as This Account, select user id from window log in
- In the Local Security Settings, make sure you add that user into:
1) act as part of the operating system
2) log on as a batch job
3) log on as a service
- And in Navision, set SUPER permission for that window log in
And then you go
Regards
If using TCPS does not work, but using TCP works (again, both on the Server and the NAS) then there is some problem in getting the credentials.
“This posting is provided "AS IS" with no warranties, and confers no rights.”
The windows user that have start permission in the NAS service, is it added in Navision ??
The startup parameter must be the same that you put in the codeunit 1 in function NASHANDLER
bye :-k
You are right! This is what I have said... to start Navision server service with TCP and not TCPS you must change startup parameter from windows registry. In some case during installation Navision service is started with TCPS... and also using TCPS from client it doesn't work.
SOLUTION:
- change startup parameter of Navision server service from windows registry
- connect to server using TCP
SharePoint Implementation and Development
Network Administration
Mirifex Systems
this parameter i.e. will on startup be sent to the function
NASHandler(NASID : Text[260])
in CodeUnit 1
so in case you supply startupparameter=p the function NASHandler will run with a value of NASID=p
You will have to customize this function in order to let Navision perform whatever action you want to associate with this p (i.e. run a codeunit).
Be aware that the function NASHandler is only called during startup of NAS. So you will have to write code that uses a loop or timer that will keep running until the nas is stopped. Otherwise it will stop immediately.
MBS NAV Consultant
RIS Plus, LLC
you can also try to install the NAS as a nt-service again. After that you can create a link in the NAS management console and enter the parameters.
Make sure in the nt-service properties a login with enough permissions is used.
nas.exe appservername=myNASServiceName, (un)installasservice
Stephan
I continue to check the NAS, tell Navision to publish the Profile and Datasets, then look in Word. No Navision SmartTags show up. I looked at the protocol in the registry. I don't get it ???
Dynamics West
http://www.dynamicswest.com
RIS Plus, LLC
1. Create a new application server
2. Fill in the field correctly
3. See to it that you change the nettype in the registry
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\COMPUTERNAME-SQL
4. add some dummy code to the correct nashandler. To see if its really working.
Have fun! :
RIS Plus, LLC
Dave
Dynamics West
http://www.dynamicswest.com