Header Ads Widget

🔧 SOLVED: A table, EDT, Enum, or Class Called "TableName" Already Exists — Import of Table Aborted

 Author: [Sai Krishna]

Date Published: March 08, 2017
Category: Dynamics AX | X++ Errors | Troubleshooting

If you're working with Microsoft Dynamics AX and encounter the following error while importing an .xpo file:

A table, Extended Data Type, Base Enum or class called TableName already exists. Import of Table aborted.

Don't panic—this is a common issue and can usually be resolved in minutes.


🧠 Why This Error Occurs

This error typically occurs due to one or more of the following reasons:

  • Object name conflict: The object you're trying to import already exists in the AOT.

  • Cache corruption: AX client-side cache (.AUC files) contains outdated references.

  • ID mismatch: The ID assigned to the object during development does not match in your environment.


✅ Solution: Clear the AX Client Cache

Follow these steps to resolve the issue:

  1. Close the AX Client completely.

  2. Delete all .AUC files from the local cache directory:

    • For Windows XP / Server 2003:

      mathematica
      C:\Documents and Settings\[YourUsername]\Local Settings\Application Data
    • For Windows Vista / 7 / 8 / 10:

      mathematica
      C:\Users\[YourUsername]\AppData\Local
  3. Reopen the AX Client and try importing the .xpo file again.

💡 Tip: Make sure the object doesn’t already exist in AOT before re-importing. If it does, consider deleting it manually or importing with a renamed object.


🛠 Additional Checks (Optional)

  • Use the Compare Tool to see differences between environments before import.

  • Try importing the .xpo file into a clean test environment if the problem persists.

  • Always backup your models and objects before importing.


📌 Summary

IssueSolution
Object name conflict during .xpo importClear cache files and re-import
ID mismatch for tables, enums, or EDTsVerify object IDs and delete if necessary
Persistent import failuresUse a fresh environment or rename the object

📬 Need Help?

If you're still facing issues or have a unique scenario, feel free to drop your queries at [masteringdynamics365fo@gmail.com].

Stay tuned for more tips, solutions, and real-world issues faced by D365 and AX developers.

Post a Comment

0 Comments