Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : k0eJCs8OeQE+Haw9dUFOae
Microsoft Dynamics AX (Archived)

DAX 2012 PreSync Error: DEL_upgradeContactTable not found.

Like (0) ShareShare
ReportReport
Posted on 8 Aug 2012 16:10:08 by 1,825

I'm receiving an error in the Presynchronize scripts while upgrade from DAX 2009 to DAX 2012. The method listed for this script is deletePrePolulatedData and looking at the method it is just marking some table to be truncated or not to be copied. This should be straight forward. However, it is producing the error that it cannot find DEL_upgradeContactTable. It is correct in not finding this table since I have turned off the configuration key to disable the DEL tables from previuos versions. Does anyone have any information or ideas on why this is producing this error? I have tried to troubleshoot the issue, but even breakpoints within this method are not stopping the code for debugging. So I have no idea what to do to troubleshoot any further. Any help on this is greatly appreciated!

Trisha

*This post is locked for comments

  • TCB5 Profile Picture
    1,825 on 16 Aug 2012 at 12:33:58
    Re: DAX 2012 PreSync Error: DEL_upgradeContactTable not found.

    Hi Kevin,

    Thanks for the info on debugging the batch scripts and the note to generate the Incremental IL code, I tried commenting out those lines as you suggest, but didn't realize I had to generate the IL code. This is a huge help! I'm now stuck on some bulk copy scripts that are failing in the data upgrade, and hopefully I can debug those scripts this way and find out why they are failing.

    Thanks again!

    Trisha

  • Verified answer
    Kevin Kidder Profile Picture
    on 16 Aug 2012 at 12:18:13
    Re: DAX 2012 PreSync Error: DEL_upgradeContactTable not found.

    Trisha,

    You should just be able to comment out the two lines in that deletePrePopulatedData method (for the DEL_upgradeContactTable and DEL_upgradeBusRelTable) and then compile the method and Generate Incremental IL code and be able to proceed. It looks like the script is missing a configuration key check to see if the SysDeletedObjects41 key is enabled or not. I will check on logging that issue for a fix in a future release.

    As far as using breakpoints, because the upgrade jobs are executed as batch jobs within Microsoft Dyanmics AX 2012, you would need to use Visual Studio to attach to the process and set your breakpoints using the Application Explorer inside Visual Studio. For more details refer to the Batch Jobs section at the bottom of this page related to debugging in AX 2012 - msdn.microsoft.com/.../gg860898

    Kevin

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,004 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading started