AX2012 Upgrade – New scripts cannot be started while scripts of type [readiness] are running.

You may encounter this error when launching the Live Preprocessing or the Delta processing scripts, for the AX2012 Upgrade checklist in AX2009, even though you have successfully completed the Upgrade Readiness scripts.


Error:

We have encountered this error in the following scenario:

  • Ran the Upgrade Readiness scripts. All scripts completed fine.
  • Ran the Live Preprocessing scripts. All scripts completed fine.
  • Opened the Upgrade Readiness scripts form to review the results; and closed the cockpit form without running the scripts again.
  • Tried to launch the Delta Processing scripts > encountered the error.

Cause:

When the Upgrade Cockpit is opened, it loads all the scripts, for the current stage, into the ReleaseUpdateScripts table. When the form is closed, it checks whether all the scripts have completed. If they have, the logic deletes the records from the ReleaseUpdateScripts table. The records in ReleaseUpdateScripts do not get deleted if the scripts, for the current run, have not completed.

The reason for the error was that when we closed the Readiness cockpit, the records in the ReleaseUpdateScripts table did not get deleted.

Solution:

Delete all the records from the ReleaseUpdateScripts table.

Advertisements

4 thoughts on “AX2012 Upgrade – New scripts cannot be started while scripts of type [readiness] are running.

  1. hi all,

    i am migrating from ax2009 to ax2012r2cu7 .while running the delta preprocessing checklist the batch job is still in executing for the first step more than two days ,can anyone tell me how long it will takes.

  2. thanks for the reply.I TRIED TO RESTART the checklist but the probelm still same.the problem is in collect patching delta method this is the method running for several days can anyone tell me wat is the issue.

  3. Naveen, you may need to look into the script’s class/method and try to determine what it is doing (which tables it populates etc.). This may give you an insight into the issue.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s