
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)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.