Software⏱️ 4 min read📅 2026-06-11

How to Fix Error 35602 Error – Causes of Error 35602: Key is not unique in collection

WinCupl error 35602: Key is not unique in collection, program crashes and closes.

Quick Answer: Check for duplicate keys in the database table causing the issue.

Error 35602: Key is not unique in collection occurs when attempting to simulate or compile a PLD file on WinCupl, causing the program to crash and close. This error affects users who are trying to work with the WinCupl software, making it frustrating for those who rely on this tool for their work.

This issue can be resolved by identifying and addressing the root cause of the problem, which may involve updating or modifying the database table containing the non-unique key.

💡 Why You Are Getting This Error

  • The first main reason why this error happens is that a key in the table of the database is not unique. This means that there are multiple keys with the same value, causing conflicts and errors when trying to access or manipulate data.
  • An alternative reason for this error could be due to incorrect configuration or setup of the WinCupl software, which may result in duplicate keys being used.

🚀 How to Resolve This Issue

Updating the database table containing the non-unique key

  1. Step 1: Open the WinCupl software and navigate to the database settings.
  2. Step 2: Search for the table that contains the non-unique key and identify the specific column or field that is causing the issue.
  3. Step 3: Delete any duplicate keys from this column or field, and then re-save the changes to the database.
  4. Step 4: Restart the WinCupl software and attempt to simulate or compile the PLD file again.
  5. Step 5: If the problem persists after deleting duplicate keys, try updating the database table by using a backup or restore function to ensure that all data is accurate and unique.

Configuring the WinCupl software correctly

  1. Step 1: Consult the user manual or online documentation for the WinCupl software to ensure that it is properly configured.
  2. Step 2: Check for any outdated or incorrect settings that may be causing duplicate keys.
  3. Step 3: Modify any configuration settings as necessary to resolve the issue.
  4. Step 4: Restart the WinCupl software and attempt to simulate or compile the PLD file again.
  5. Step 5: If the problem persists after configuring the software correctly, try seeking additional support from the manufacturer or a qualified technician.

🎯 Final Words

By following these steps, users should be able to resolve the Error 35602: Key is not unique in collection issue and continue working with their WinCupl software. If you are still experiencing problems after attempting these solutions, it may be necessary to seek further assistance from a qualified technician or the manufacturer.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions