web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: Upgrade delta script contact person transformation stuck - updatecontactPersonDelta

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#1
Community Member Profile Picture

Community Member 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans