web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to refresh the application files without stopping the AOS ?

(0) ShareShare
ReportReport
Posted on by 75

Hi,

I am using Dynamics AX 2009, and I am facing three problems:

1- The code modifications in one AOS service are not visible from the users connected to other services

2- The AOD and ALD files modification datetime is not updated automatically

3- The AOS services are consuming much memory

These problems are solved when I restart the AOS services. I guess that it is because of the server caching, so when the AOS is stopped it updates the application files with the modifications stored in the cache memory.

How can I refresh these files automatically and frequently without stopping AX ? I tried "Refresh AOS", "Refresh Dictionary" and "Refresh Data" from the Development Tools but it didn't work.

Thanks in advance. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Joris dG Profile Picture
    17,775 on at

    The Refresh AOS/Dictionary/Data menu items all run on client. You can find the menu items in the AOT and set them to run on server (SysFlush* under the action menu items). However, the AOS should flush its cache at midnight every day automatically. You can see that in the event log.

  • Nerazzuro Profile Picture
    75 on at

    Hi Joris,

    Thank you for your response !  Running the SysFlush from the AOS effectively has resolved my first problem. But the application files (*.ald and *.aod) are still not updated and the AOS services keep the cache and doesn't free their memory.

    It's also important because sometimes I have to deliver labels from an AX environment to another (during the day) without stopping the application.

  • Verified answer
    Joris dG Profile Picture
    17,775 on at

    You cannot update the files while the AOS is running. Even in AX 2012, where the AOD files no longer exist and all the code is stored in SQL, you still have to restart the AOS (although there are some ways to minimize downtime) when replacing layers or labels.

    As far as labels go, you can try moving code with labels inside the XPO files. I personally think XPO moves to a production environment should be avoided though (see my rant at daxmusings.blogspot.com/.../deploying-your-ax-2012-code.html ). A little downtime should be possible. I always compare AX code updates to windows updates. You are updating a critical system in your organization. Windows updates require reboots as well. And even if they don't, you are probably not going to be running updates during the day when people are working on that server. And you're also not moving C++ code into your server for an update, you're replacing compiled DLLs.

  • Nerazzuro Profile Picture
    75 on at

    Hi,

    Thank you very much. I really appreciate your comparison between the AX updates and the Windows ones.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans