Notifications
Announcements
No record found.
*This post is locked for comments
1. Stop AOS.
2. Delete the .auc file from users\\Appdata\ folder
3. Restart AOS.
community.dynamics.com/.../cleanup-cache-auc-file.aspx
Is it really necessary to stop the AOS?
Is it not sufficient f the user closes their client?
1. Close the client
2. The ax_{GUID}.auc file is now written to the AppData folder
3. Delete the auc file
4. Open the client
Hi I have some solutions including this in www.dynamicsaxlatino.com/como-limpiar-cache-de-dynamics-ax
How to clean cache of AOT and take multiple AOS changes
www.dynamicsaxlatino.com/limpiar-flush-cache-de-aos-o-aot-en-ax
We do it with the AOS still running and that seems to work fine.
Hi CARLOS,
Thanks a lot, its helpful for me.
Nice tricks
A Task that can be perfomed from each AOS (make sure your client is connected to each AOS) is to use the Tools menu, the cache submenu. you can refrechs elements, data and Dictionary objects.
Here's a PowerShell script to automate Kent Carsten's solution.
NB: Best to have AOSes off for this, as it will apply to all users / has no logic to check if users are logged on or not.
#run as administrator to avoid UAC from blocking access to user profiles (Ref: stackoverflow.com/.../39722043)
$GUID = '{*}' #NB: The GUID in the filenames comes from the database: select GLOBALGUID from SYSSQMSETTINGS. More notes about this here: daxmusings.codecrib.com/.../fixing-code-caching-on-ax-environment.html
#if you wanted to filter for a specific environment's cache files, the best solution is to retrieve the GUID then include it in the filter.
#for simplicity / to avoid adding DB code, this script doesn't discriminate by GUID
Get-ChildItem 'C:\Users\*\AppData\Local' -Directory -Force -ErrorAction SilentlyContinue | select -expand FullName | %{
Get-ChildItem -Path $_ -Filter "ax_GUI_$GUID*.auc" -ErrorAction SilentlyContinue | Remove-Item -Force
Get-ChildItem -Path (Join-Path $_ 'Microsoft\Dynamics Ax\') -Filter "VSAssemblies$GUID" -Directory -ErrorAction SilentlyContinue | Remove-Item -Force
}
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2