problem with application server in 4.0 SP1

peterke1974
Member Posts: 23
Hello,
I'm trying to setup an application server, but I'm having a few problems with it.
When I look in the eventlog, I see the following : "The service could not be started with startup parameter LBB"
The next message in the eventlog is the following: "The Navision Application Server LBBNAS could not initialize properly.
The server will attempt to initialize every 30 seconds until this is successful.".
In codeunit 1 I added the following:
IF (COPYSTR(Parameter,1,3) = 'LBB') THEN BEGIN
MESSAGE('This is a NAS test');
CODEUNIT.RUN(50020);
END;
I can see the message in the eventlog every 30 seconds and codeunit 50020 runs every 30 seconds.
Another strange thing is that I cannot start the Application server in the application server manager.
Sometimes "access denied" flashes very quickly on the screen.
I added a windowsuser wich is a super-user.
I can start the application server without any problem in the services.
I allready tried it on 2 different servers, both with the same result.
Does anyone know what I'm doing wrong?
Thanks in advance
Peter
I'm trying to setup an application server, but I'm having a few problems with it.
When I look in the eventlog, I see the following : "The service could not be started with startup parameter LBB"
The next message in the eventlog is the following: "The Navision Application Server LBBNAS could not initialize properly.
The server will attempt to initialize every 30 seconds until this is successful.".
In codeunit 1 I added the following:
IF (COPYSTR(Parameter,1,3) = 'LBB') THEN BEGIN
MESSAGE('This is a NAS test');
CODEUNIT.RUN(50020);
END;
I can see the message in the eventlog every 30 seconds and codeunit 50020 runs every 30 seconds.
Another strange thing is that I cannot start the Application server in the application server manager.
Sometimes "access denied" flashes very quickly on the screen.
I added a windowsuser wich is a super-user.
I can start the application server without any problem in the services.
I allready tried it on 2 different servers, both with the same result.
Does anyone know what I'm doing wrong?
Thanks in advance
Peter
0
Comments
-
I don't know where you put your code, but put the following code in there
CGNASStartedinLoop := true;
THe reason you are getting the error is because of
END ELSE
ERROR(Text018,Parameter);0 -
The only thing I use the NAS MMC snap in for is setting the parameters. I always start and stop them from the Services window. You can add services to the snap-in so you don't have to open them both.
Make sure your code is in the CASE Parameter OF structure. All you should do in there is start the codeunit. If you make the codeunit single instance, you can start a timer object in it, and in the timer event you program what you need to do.0 -
ara3n wrote:I don't know where you put your code, but put the following code in there
CGNASStartedinLoop := true;
THe reason you are getting the error is because of
END ELSE
ERROR(Text018,Parameter);
Thanks a lot, it works fine now \:D/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