Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Not able to delete a table

Posted on by 4,125

Hi,

In AX 7, I tried to delete a table, this custom table is in my own model (not the standard table).

I open AOT, and right click "Add to project", then from project, I right click the table to "Delete" it. However I got an error "The process cannot access file "J:\AosService\PackagesLocalDirectory\ApplicationSuite\LUKA\AxTable\LUKATempStaging.xml' because it is being used by another process."

I tried to stop the AOS, batch servers, DIXF servers and Management reporter service, but still no luck.

Thanks,

*This post is locked for comments

  • Verified answer
    Faisal Fareed Profile Picture
    Faisal Fareed 10,794 User Group Leader on at
    RE: Not able to delete a table

    Can you check references for this table it may help you find out where it is being used. You van delete it from package directory if you dont want it.

  • Verified answer
    Basheer17 Profile Picture
    Basheer17 2,720 on at
    RE: Not able to delete a table

    Try deleting it from the physical folder.

  • Yuji Profile Picture
    Yuji 4,125 on at
    RE: Not able to delete a table

    Hi Faisal,

    That is correct, it is part of the data entity project. And I did delete other object including the data entity itself successfully. Just this one I am not able to delete.

    Thanks,

  • Suggested answer
    Faisal Fareed Profile Picture
    Faisal Fareed 10,794 User Group Leader on at
    RE: Not able to delete a table

    Hi Yuji,

    Was this table created when you created a data entity. The naming convention of the table with staging in it seems to me it was created through data entity. It thats the case try to delete data entity first.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans