Solution 1: This is caused by corrupted test and it should be deleted and also the test might be locked by another Unity Real-Time application. To remedy this problem, you should unlock the test and if the problem persists after unlocking the test, then you should delete the test.
The following steps should be done on the server where the QC database resides.
- Open a command prompt (Start | Run. Type cmd or command).
- At the C: prompt type osql ‚–E.
- Press Enter.
- At the C: prompt type use qcdao(qcdao is the database name. You should type your database name if it is not qcdao).
- Press Enter.
- At the C: prompt type delete from TestInUsed.
- Press Enter.
- At the C: prompt type go.
- Press Enter.
Solution 2: If solution 1 does not fix the problem, then the test is corrupted and should be deleted and re-created again. This solution will result in data loss for the test.