web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Upgrade delta script contact person transformation stuck - updatecontactPersonDelta

(0) ShareShare
ReportReport
Posted on by 1,825

Hello,

I am running the upgrade delta scripts in our production environment and the script updatecontactPersonDelta is running and not completing. It looks like it is stuck in a loop from SQL activity monitor. I have made several indexes and restarted the server to rerun the script with no success. This script was not a problem the previous time I ran delta 2 days ago.

Any ideas on what could be causing this and how to work around it? We are planning to go live in a week, eek!

Thanks!

Trisha

*This post is locked for comments

I have the same question (0)
  • Verified answer
    TCB5 Profile Picture
    1,825 on at

    We found a few work arounds for this issue:

    1. Use the debugger and set a break point at shadow_contactperson.insert(); then just run through the records while setting watches for contactperson.name and contactperson.recid etc. Then the debugger eventually caught the infolog messages that weren't getting displayed when running the script. Then you can see what the last contact record that was selected was, then delete it.

    2. We found the code for findorCreate dirPartyLocationRole and saw that the try catch statement would only retry in the catch if it failed the check. So we changed the code there in the catch part to return the dirPartyLocationRole record if it already exists.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans