NAS Issue
roshandilruk
Member Posts: 51
Dear All,
I have an issue with the NAS. These are the things I did work around.
1. Installed NAS. (in Nav 3.7)
2. Uninstalled the default Services CLASSIC and SQL using the DOS prompt
3. Installed a new Service called NAS using the DOS prompt
4. In the NAS Service properties, in logon tab, set up the Administrator Account
5. Using the Navision Application Manager, setup the relevant parameters as follows,
Database Server name : localhost
Database kept empty
Company Name : the name of the company in the database (I have only one company in the database)
Start-up Parameter: MYRH
Net Type : TCP
Object Cache : 8000
6. Started the Service
7. Clicked the “Apply These Settings” Button on the NAS Application Manager Window
8. In the Navision database, I added Administrator Account as a Windows login
9. In Codeunit 1, added a little code in the NAS Handler Function, as follows,
NASHandler(NASID : Text[260])
ParamStr := UPPERCASE(NASID);
//Start Code
IF COPYSTR(UPPERCASE(ParamStr),1,4) = 'MYRS' THEN BEGIN
CGNASStartedinLoop := TRUE;
MESSAGE('NAS LogIN');
END;
//End Code
10. After Adding this Code, I again Restarted the NAS Service, so then I checked the Even Viewer
11. I’m supposed to see the Message “NAS LogIN”, but I do not see anything. It shows the Information to say the Service was Stopped and Restarted. I see two warnings, as follows,
Warning 1:No service could be started with the Start-Up Parameter MYRH
Warning 2:
The Navision Application Server NAS could not initialize properly.
The server will attempt to initialize every 30 seconds until this is successful.
For more information, see Help and Support Center at
I believe I did every possible thing, appreciate if one of you could advice a way out to get the NAS workable properly
Thanks
I have an issue with the NAS. These are the things I did work around.
1. Installed NAS. (in Nav 3.7)
2. Uninstalled the default Services CLASSIC and SQL using the DOS prompt
3. Installed a new Service called NAS using the DOS prompt
4. In the NAS Service properties, in logon tab, set up the Administrator Account
5. Using the Navision Application Manager, setup the relevant parameters as follows,
Database Server name : localhost
Database kept empty
Company Name : the name of the company in the database (I have only one company in the database)
Start-up Parameter: MYRH
Net Type : TCP
Object Cache : 8000
6. Started the Service
7. Clicked the “Apply These Settings” Button on the NAS Application Manager Window
8. In the Navision database, I added Administrator Account as a Windows login
9. In Codeunit 1, added a little code in the NAS Handler Function, as follows,
NASHandler(NASID : Text[260])
ParamStr := UPPERCASE(NASID);
//Start Code
IF COPYSTR(UPPERCASE(ParamStr),1,4) = 'MYRS' THEN BEGIN
CGNASStartedinLoop := TRUE;
MESSAGE('NAS LogIN');
END;
//End Code
10. After Adding this Code, I again Restarted the NAS Service, so then I checked the Even Viewer
11. I’m supposed to see the Message “NAS LogIN”, but I do not see anything. It shows the Information to say the Service was Stopped and Restarted. I see two warnings, as follows,
Warning 1:No service could be started with the Start-Up Parameter MYRH
Warning 2:
The Navision Application Server NAS could not initialize properly.
The server will attempt to initialize every 30 seconds until this is successful.
For more information, see Help and Support Center at
I believe I did every possible thing, appreciate if one of you could advice a way out to get the NAS workable properly
Thanks
0
Answers
-
I don't know if it is typing error, but your startup parameter is MYRH and in CU1 you are asking for MYRS...?"Money is likewise the greatest chance and the greatest scourge of mankind."0
-
Absolutely BRILLIANT, that was the exact problem, Thanks a million.
This is the important bit, how hard you do sometimes you don't see this kind of silly mistakes.
Thanks Again!!!0 -
You're welcome!
Yeah, sometimes the smallest things do have a great impact and make you waste a lot of time and effort. I often learned it the hard way too...
"Money is likewise the greatest chance and the greatest scourge of mankind."0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions