Hi,
I'm running NAS for a WebService on a customer server, but I don't know why it stops suddenly and a message appears : "Press any key to continue..". Before the message it was working fine, without errors...
Anyone knows the reason for this?
Thanks a lot, and merry christmas!
0
Comments
Is the an confirm in your code :?:
Can you reproduce this, when you start the NAS-CU manually:?:
PS. Its deadly to show error, message, testfield, confirms or anything else when using the NAS! If your code will be use by nas and manually use [Ok:=] GUIALLOWED()
regards
You will have to provide for a user-less way to handle this situation. There's a keyword in Navision that you can use called 'GUIALLOWED': It feels like your webservice returns something that you need to handle differently.
RIS Plus, LLC
It happened last night, when no one was working, so I don't think that a confirm, error, or something like this is the cause.
It stops the same way as when you press ESC to stop it manually.
An ERROR will write the error message to the event log, and it will abort the process just like it would in a regular Navision session, so if you don't handle errors well enough in your code, it will stop the NAS.
You will need to give us more information.
RIS Plus, LLC
The web service has just began to run this week, so we are still debugging errors. The NAS windows (we have one only to print PDF's and another one for everything else) show many messages, and sometimes errors like "overflow when converting text to code", and things like that, but it continues working.
Is it possible that if may errors appear, it stops? I started it yesterday morning, and now it is still running, it hasn't stopped. I think there haven't been any error this time, so maybe this is the problem.
This is everything I know.
Thanks everyone!
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Be sure that the Edit Options "Quick Edit Mode" and "Insert Mode" in the System Menu / Properties of your Console Window are deactivated!