NAS Problem (No service could be started)

raiees
Member Posts: 33
Hi All,
I am using Navision 3.70 I have installed NAS and put a message in NASHandler(ID 99) function. Event Manager shows the message
[Finally NAS logged in.....]
but after this when I try to call my codeunit, but it gives warning
[No service could be started with the Start-Up Parameter MYEMAIL]
[The Navision Application Server NAS could not initialize properly.
The server will attempt to initialize every 30 seconds until this is successful.]
[The Breakpoints already exists.
Identification fields and values:
Object ID='50001',Object Type='Form',Trigger Line='4',Code No='7']
I have checked everything codeunit is also singleInstance. I have reinstall the NAS as well
Please help me guys....
Thanks in Advance
I am using Navision 3.70 I have installed NAS and put a message in NASHandler(ID 99) function. Event Manager shows the message
[Finally NAS logged in.....]
but after this when I try to call my codeunit, but it gives warning
[No service could be started with the Start-Up Parameter MYEMAIL]
[The Navision Application Server NAS could not initialize properly.
The server will attempt to initialize every 30 seconds until this is successful.]
[The Breakpoints already exists.
Identification fields and values:
Object ID='50001',Object Type='Form',Trigger Line='4',Code No='7']
I have checked everything codeunit is also singleInstance. I have reinstall the NAS as well
Please help me guys....
Thanks in Advance
0
Answers
-
In Function NASHandler do you handle parameter MYEMAIL ?0
-
yes I have this code...
IF COPYSTR(UPPERCASE(NASID),1,7) = 'MYEMAIL' THEN BEGIN
MESSAGE('Finally NAS logged in.....');
CODEUNIT.RUN(50000);
END;
this 50000 codeunit is not running but event viewer shows the message0 -
Add line CGNASStartedinLoop := TRUE;0
-
You could also parameter to
CASE Parameter OF 'MYEMAIL': BEGIN ....... END
0 -
That line informs that parameter has handled. If you look at last condition in that function, you will see if there is a parameter that wasn’t handled it generates an error. You handled parameter but never informed that has correctly handled. If you don’t want to use that line of code you can put your parameter in last CASE.
Please change subject to solved.0 -
Got it! =D>
Thank you very much0
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