Application Server details?

mrQQ
Member Posts: 239
Greetings,
I would like to know where could I find more information about NAS. E.g., when it starts and fires 99 trigger, and it finishes, does it quit? If not, then what does it do?
I'd like to know how exactly does it work, cause for now, it's causing me alot of problems..
I have it starting via task scheduler by now, but sometimes it just locks up and does nothing.. sometimes it says that it'll keep initializing every 30 seconds, and other times it just quits after 99 is finished..
p.s. i read the documentation, but it doesnt talk about that. and i cant find technical white paper for connectivity and automation
thank you!
I would like to know where could I find more information about NAS. E.g., when it starts and fires 99 trigger, and it finishes, does it quit? If not, then what does it do?
I'd like to know how exactly does it work, cause for now, it's causing me alot of problems..

p.s. i read the documentation, but it doesnt talk about that. and i cant find technical white paper for connectivity and automation

thank you!
0
Comments
-
for example when I start NAS from command line, it says that NAS is running and press ESC to quit. But what's the point in having it running, if it only fires 99 trigger once?
Also, when It's started via same cmdline from task scheduler, it seems to quit when trigger is finished, with exit code 0x1.. what's that?0 -
When the NAS starts, it logges in into CU1 trigger 99 with the Startup parameter you enter in the registry (or commandline). Trigger 99 is the Main() program for the NAS, this means: when this functions ends, the NAS "stops".
What the "normal" procedure is in Navision, is to create a Single Instance CU with your functionality and keeping itself alive (using a Timer or something). This CU is started from trigger 99 in CU1.
Look for example at the Biztalk CU. "BizTalk Appln. Srv. Startup" (99008528) which is started from CU1 (startup param "CG").0 -
Yes, but why does NAS sayDate: 04.11.29
- 12:32:44:
12:32:44: Navision Application Server version 3.70 (Build 14988)
12:32:44: Copyright (c) 1987-2003 Microsoft Business Solutions ApS
12:32:44:
- 12:32:45: Iš 0 užsakymų užregistruota 0.
- 12:32:45: The Navision Application Server nas started with the following co
guration:
12:32:45: Database Server Name = ..
12:32:45: Database = ..
12:32:45: Company = ..
12:32:45: Startup Parameter = TEST
12:32:45:
12:32:45: Press ESC to shut down the Navision Application Server nas.
12:32:45:
The C1/99 started one Report, which finished (and said "0 Invoices posted.."), then C1/99 finished aswell, but NAS still keeps running?
When I start it via task scheduler, it doesn't stay running, but instead gives this message in event logEvent Type: Error
Event Source: Microsoft Business Solutions-Navision
Event Category: None
Event ID: 1000
Date: 2004.11.29
Time: 11:08:17
User: N/A
Computer: ZVTERM3
Description:
The description for Event ID ( 1000 ) in Source ( Microsoft Business Solutions-Navision ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: nassql.exe; 3.70.0.14988; 3fb82f78; nassql.exe; 3.70.0.14988; 3fb82f78; 0; 0008277e.
Data:
0000: 41 00 70 00 70 00 6c 00 A.p.p.l.
0008: 69 00 63 00 61 00 74 00 i.c.a.t.
0010: 69 00 6f 00 6e 00 20 00 i.o.n. .
0018: 46 00 61 00 69 00 6c 00 F.a.i.l.
0020: 75 00 72 00 65 00 20 00 u.r.e. .
0028: 20 00 6e 00 61 00 73 00 .n.a.s.
0030: 73 00 71 00 6c 00 2e 00 s.q.l...
0038: 65 00 78 00 65 00 20 00 e.x.e. .
0040: 33 00 2e 00 37 00 30 00 3...7.0.
0048: 2e 00 30 00 2e 00 31 00 ..0...1.
0050: 34 00 39 00 38 00 38 00 4.9.8.8.
0058: 20 00 33 00 66 00 62 00 .3.f.b.
0060: 38 00 32 00 66 00 37 00 8.2.f.7.
0068: 38 00 20 00 69 00 6e 00 8. .i.n.
0070: 20 00 6e 00 61 00 73 00 .n.a.s.
0078: 73 00 71 00 6c 00 2e 00 s.q.l...
0080: 65 00 78 00 65 00 20 00 e.x.e. .
0088: 33 00 2e 00 37 00 30 00 3...7.0.
0090: 2e 00 30 00 2e 00 31 00 ..0...1.
0098: 34 00 39 00 38 00 38 00 4.9.8.8.
00a0: 20 00 33 00 66 00 62 00 .3.f.b.
00a8: 38 00 32 00 66 00 37 00 8.2.f.7.
00b0: 38 00 20 00 66 00 44 00 8. .f.D.
00b8: 65 00 62 00 75 00 67 00 e.b.u.g.
00c0: 20 00 30 00 20 00 61 00 .0. .a.
00c8: 74 00 20 00 6f 00 66 00 t. .o.f.
00d0: 66 00 73 00 65 00 74 00 f.s.e.t.
00d8: 20 00 30 00 30 00 30 00 .0.0.0.
00e0: 38 00 32 00 37 00 37 00 8.2.7.7.
00e8: 65 00 0d 00 0a 00 e.....0 -
so does anyone have any ideas?0
-
I wanted to take a look at BizTalk Appln. Srv. Startup to see if I could help you with ideas, but when I try to open it in design mode or export it as a text file, I get the "You do not have permission ... " error. I'm a certified Navision developer with a current developer license. I can't figure out why I can't get into it. Any ideas? ](*,)0
-
user permissions perhaps? i'm not really sure, shouldnt be anything if your license is full.. can you try with other licenses perhaps?0
-
I don't think so. I tried changing the system time and using an old license I had from an old NSC I worked for with the same results. But thanks for the suggestion.0
-
R.Bekker wrote:When the NAS starts, it logges in into CU1 trigger 99 with the Startup parameter you enter in the registry (or commandline). Trigger 99 is the Main() program for the NAS, this means: when this functions ends, the NAS "stops".
What the "normal" procedure is in Navision, is to create a Single Instance CU with your functionality and keeping itself alive (using a Timer or something). This CU is started from trigger 99 in CU1.
Look for example at the Biztalk CU. "BizTalk Appln. Srv. Startup" (99008528) which is started from CU1 (startup param "CG").
Are you sure this is how it works? Because I made 99 trigger empty, and it still keeps running, saying press ESC to shut down NAS. Shouldnt it shutdown immediatelly, since there's nothing to execute?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions