Question Status

Suggested Answer
yasunori asked a question on 4 May 2013 12:15 AM
AOS1 and AOS2 returned different result in chart of account screen.
I registered a new ledger account on AOS1, but AOS2 doesn't show it.
How do I resolve it?
I think LedgerTable is cached in memory by CacheLookup Property.
I search articles ,normally cache is flushed when data is changed.
But it is not flushed... I can't find reason.
  • AOS1 and AOS2 use same database.
  • AOS1 and AOS2 are hosted another computer.
Reply
Francisco Silva responded on 4 May 2013 8:31 AM

try to stop AOS Services from booth servers, delete the .AOI file from the application folder and start the AOS services again

Reply
Suggested Answer
Dick Wenning responded on 4 May 2013 9:01 AM

flush cache

dynamics-ax.blogspot.nl/.../flush-aos-cache-from-code.html

but this client cache

is it ax 2009 or AX 2012

Reply
yasunori responded on 4 May 2013 9:23 AM

Thank you for replay.

Is it bug?

Are there any correct configuration?

Reply
yasunori responded on 4 May 2013 9:26 AM

Thank you for replay.

We can't stop AOS, SLA is 24H.

Many table is set cachelookup on sys layer.

I think it is not resolve root cause of this...

Reply
Dominic Lee responded on 5 May 2013 8:38 PM

Did flushing the cache on AOS2 by force worked for you?

Reply
yasunori responded on 6 May 2013 12:49 AM

No, I didn't flush.

But I confirmed that AOS2 has been flushed automatically today.

We cannot understand why...

Reply
Dominic Lee responded on 6 May 2013 2:07 AM

Hi,

I don't have a multiple-AOS environment on hand to test this... can you try flushing the caches from AOS1 (by copy a set of menuitems and set them to run at server - chaituax.wordpress.com/.../cache-mechanism-in-dynamics-ax) and see if it helps refresh the cache on AOS2 also?

Reply
Suggested Answer
Xander Vink responded on 6 May 2013 4:08 AM

If it's AX 2009 and flushing the cache doesn't solve your problem you might want to try KB2661128:

mbs2.microsoft.com/.../kbdisplay.aspx

Reply
Suggested Answer
Dick Wenning responded on 4 May 2013 9:01 AM

flush cache

dynamics-ax.blogspot.nl/.../flush-aos-cache-from-code.html

but this client cache

is it ax 2009 or AX 2012

Reply
Suggested Answer
Xander Vink responded on 6 May 2013 4:08 AM

If it's AX 2009 and flushing the cache doesn't solve your problem you might want to try KB2661128:

mbs2.microsoft.com/.../kbdisplay.aspx

Reply