No items found.

Ghost object in USR layer in AX 2012

The main issue with those objects are that you cannot delete them form USR layer.

From Dynamics AX 2012 CU7 Microsoft give us nice tool to run compilation in parallel: AxBuild.exe - more details about it you can find here: https://msdn.microsoft.com/en-us/library/dn528954.aspx.

There is one undocumented parameter in AxBiuld: /layer= where you can specify in which layer you would like to do compilation.

Return to the issue – to fix it you need to:

‍

Step 1

Create new temporary model – for example USR_To_Del.

Step 2

Move only ghost objects from normal USR model to newly created USR_To_Del.

Step 3

Stop AOS.

Step 4

Delete model USR_To_Del:

  • Run command prompt – in run field write cmd.
  • Write cd <path to AX your server folder> for example: cd “C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin”.
  • Write axutil delete /model: USR_To_Del and click enter.
  • Confirm that you really want to delete model.

Step 5

Run AxBuild with new parameter:

  • Run command prompt – in run field write cmd.
  • Write cd <path to AX your server folder> for example: cd “C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin”.
  • Write axutil delete /model: USR_To_Del and click enter.
  • Write AXBuild.exe xppcompileall /s=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin" /layer=cus /workers=6 and click enter.

Step 6

Start AOS.

This should remove ghost objects from USR layer.

Zobacz inne

Dynamics 365 F&O

200 tysięcy, 400 tysięcy, milion euro. Ile naprawdę kosztuje przechowywanie historii w D365 F&O.

Czytaj artykuł
Text Link
Power BI

Szkolenie Power BI: zakres, poziomy i certyfikacja PL-300

Czytaj artykuł
Text Link
Power BI

Direct Lake vs Import w Power BI. Który tryb wybrać dla dużych modeli danych

Czytaj artykuł
Text Link
Wróć do wszystkich

Szukasz partnera Microsoft? Porozmawiajmy o Twoim projekcie

Pracuj z zespołem, który zrealizował wdrożenia i projekty dla dziesiątek firm. Umów rozmowę wstępną i sprawdź:

Jak Dynamics 365 dopasować do procesów Twojej firmy, a nie odwrotnie

Które obszary warto zautomatyzować, żeby odzyskać czas i obniżyć koszty

Jak wygląda wdrożenie z Anegis krok po kroku: od analizy po wsparcie po starcie

Wybierz termin spotkania
Dziękujemy za wiadomość!
Oops! Something went wrong while submitting the form.
Microsoft AI Builder
Microsoft Copilot Studio
No items found.
No items found.
No items found.