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
0
Comments
CGNASStartedinLoop := true;
THe reason you are getting the error is because of
END ELSE
ERROR(Text018,Parameter);
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
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.
RIS Plus, LLC
Thanks a lot, it works fine now \:D/