Sometimes a convert task becomes “stuck” in the canceling state, but it can be fixed quickly if you have access to the correct resources and follow the instructions found in the SolidWorks Knowledge Base (QA00000109947).
WARNING! Before you begin:
This process requires making changes to the SQL database. ALWAYS make a fresh backup of the database before making changes, as making a mistake here can cause damage to the database that can only be resolved by restoring a backup.
If you are unsure what you’re doing, please reach out to our support team.
Items required:
- Access to the SQL server
- The SA Password
- Access to the Solidworks Knowledge base
- The SQL script listed in the Knowledge base article QA00000109947
What we are trying to accomplish:
Each task is assigned a status value in SQL. These values are then displayed as shown below. We want to change the value of the task stuck in the Cancelling status (6) to Cancelled (8)
- [Waiting for host]
- [Starting up]
- [In process]
- [Retrying]
- [Suspended]
- [Cancelling]
- [OK]
- [Cancelled]
- [Failed]
- [Suspending]
- [Resuming]
The process:
- Back up the database.
- Load the attached SQL query into SQL Server Management Studio.
- Select the database that you want to update.
- Update the status IDs based on the values shown in the preceding bulleted list. For example,
if there are tasks stuck in the Cancelling state, the query updates all tasks with status 6
[Cancelling] to status 8 [Cancelled]. This query updates all current tasks with the specified state. Now select Execute. - Close and then reopen the task list to see the update.