First time setting up a server - Can't get NAS to run

nav_dellnav_dell Member Posts: 15
edited 2009-05-22 in Navision Attain
Hi,
I am installing 3.60 and have a database setup. The DB I have used is a copy of another server so has all our scheduled jobs setup.

The service "Navision application server classic" is running from services.msc and I have configured it via the MMC console to use the same parameters as an existing working server we have. The service is running as the currently logged in user - me - and I have admin rights. I have setup a windows login on the DB through tools > security > windows logins on the 3.60 client and have give myself super privs on this DB.

When I go into the scheduler and try to set a job to run (functions > order run of scheduler job) it just stays on "special order". NAS is not running the job.

I don't know what else to try at the moment. Nowhere I can turn to right now but here.

Any ideas or help appreciated.

Thanks.

Comments

  • kinekine Member Posts: 12,562
    After you start the NAS service, check the Event Log if there are some errors or just message that NAS was successfully started with blablabla parameters...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • nav_dellnav_dell Member Posts: 15
    Hi,
    Thanks for your reply. I have just checked event viewer and the message is

    Event Type: Information
    Event Source: Service Control Manager
    Event Category: None
    Event ID: 7036
    Date: 4/27/2009
    Time: 12:12:17 PM
    User: N/A
    Computer: ***
    Description:
    The Navision Attain Application Server E03-CLASSIC service entered the running state.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
  • kinekine Member Posts: 12,562
    Ok, this is from system log, but have you something in Application log?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • nav_dellnav_dell Member Posts: 15
    Hi,
    I got the answer to my problem through the application log. Thanks for that. I had added an extra space into the company name on setup by mistake.

    When I try to run one of my NAS scheduler jobs now I am getting the error "From-Location Setup does not exist\Program returned error"

    Do you know what setup it's referring to here? It seems like it's pointing to the from location field on the job card - this field is blank at the moment.

    Our other servers don't have a setup here either though which is making me think it could be something else. The NAS jobs are running without error on other servers. I'm running through all the setup forms and I can't find anything.

    Any ideas?

    Thanks.
  • kinekine Member Posts: 12,562
    It can be anything. Try to run the code which is started in the CU1.NASHandler for your parameter under NAV client and you can use the debugger in common way to see what's going on...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • nav_dellnav_dell Member Posts: 15
    kine wrote:
    It can be anything. Try to run the code which is started in the CU1.NASHandler for your parameter under NAV client and you can use the debugger in common way to see what's going on...

    I'm afraid I've no idea how to do the above.
  • kinekine Member Posts: 12,562
    If possible, look into the codeunit 1, function NASHandler. There will be "Case" statement, where you will find case for your NAS parameter you are using. There will be in best case one line running some codeunit. Than try to run the codeunit from object designer on NAV client as usual (e.g. like when you are running report from object designer, form etc.). Do not forget that NAS is only NAV client without GUI, it means you can run anything what NAS is running under normal NAV client.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • nav_dellnav_dell Member Posts: 15
    Thanks for you help on this issue. I got it sorted.
Sign In or Register to comment.