I don't know exactly why, a class in the SYS layer shows in the AOT it has
been modified in the USR layer. When I compare SYS and USR layers, the
comparison tool says there are no differences. So, I try to delete the USR
layer.
I've tried the deletion from the comparison tool and directly from the node
in the AOT, but the USR layer is still there.
I've tried to delete the USR layer by running a job which deletes from the
UtilElements table, but the class is still there.
I've delete the axapd.aoi file and restarted the AOS, and the class has not
been deleted.
So, the question is how can I delete this modification I have not made?
I'm working in AX2009 SP1 and got the X++ license.
Thanks in advance for your help.
Best regards,
Cruz
MCruz,
I affraid you've tried all gentelman's ways and what's left is brute force:
Backup your database first, export (with ID's) entire layer USR except the
offending class, rename axusr.aod, delete axapd.aoi, re-import USR layer
with ID's, restore the Database.
Regards
--
Michal
www.AXImprove.co.uk | Solutions for AX performance and storage
management.
Two more things you could check:
1) Rightclick / Layers, (this will show one node per layer of same class),
try to delete it from there.
2) In Ax2009 major objects have to have unique names across AOT subtrees
(Tables, Classes, Types, etc) Check if by any chance you have a table or
extended data type of same name (in USR).
Thank you for your reply.
I've tried to delete the object from 'Layers' view, but it didn't work.
I'll try to find out if there is another object with the same name in USR
layer. If this doesn't work, I'll use the brute force ;-)
Best regards,
Cruz
--------
Streamline Systems, LLC http://www.streamlinesys.com
My blog @ http://daxmusings.blogspot.com
If there are no other changes you want to keep in the usr layer, you could
build the usr layer again by doing the following:
Stop AOS
Rename the axusr.aod file to something like axusr_OLD.aod (in the Appl folder)
Start AOS
Hope this solves it!
--
//https://www.xing.com/profile/Celeste_Lategan