NAS running but not attending requests

AlishaAlisha Member Posts: 217
Hello,

I have a NAS running, and every 10 minutes it runs a codeunit to load some files into Navision, and then delete those files. The problem is that NAS stops attending requests, but it continues running the codeunit every 10 minutes.. how can be that the NAS is running but it doesn't attend requests??

Thanks!

Comments

  • WaldoWaldo Member Posts: 3,412
    what do you mean with "stops attending requests"?

    more info please :wink:

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • AlishaAlisha Member Posts: 217
    NAS is running to attend requests from a WebService, in this case there are two NAS, one for requests like login, lookup, popup, etc, and another one for printing pdf's. This one is the one that causes the problems.

    When a pdf is requested, it seems that NAS is down, because the pdf does not appear, but if you see the window you can see that the coudeunit that looks for the files and loads them is running correctly every 10 minutes (we have messages displayed to see what is happening).

    I don't know if I am explaining everything correctly .. please ask if you need to know anything else.
  • WaldoWaldo Member Posts: 3,412
    ... in this case there are two NAS ...

    You mean that there are two NAS sessions?

    If it is one NAS session, you can be sure that NAS works ... . Please check you PDF-printing system without NAS. When you try to run it manually, does it work then?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • AlishaAlisha Member Posts: 217
    Yes, there are two nas sessions. The pdf printing runs perfectly, and it runs with nas perfectly too... but at one point it happens what I said before, it stops attending the requests.. and pdf doesn't appear anymore.

    We have then to stop NAS and launch it again.
  • WaldoWaldo Member Posts: 3,412
    You clear and create your automation variables at proper times?

    I always clear the automation variables when the process is finished.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • AlishaAlisha Member Posts: 217
    I've put a CLEAR(AutomationVariable) on the Codeunit that runs every 10 minutes, and also on the "Request Handler HttpServer" codeunit, when the OnRun code finishes.

    I'll let you know if this solves the problem, thanks a lot!
Sign In or Register to comment.