How Do You Fix CLSID Errors When Importing SWTaskAddIn in SOLIDWORKS PDM?

Troubleshooting failure during importing of SWTaskAddIn with CLSID Error in SOLIDWORKS PDM


During SOLIDWORKS PDM Upgradation or Server Components moved from One Machine to Another Machine, you may come across the error “The class IDs must be unique”during Importing  “SWTaskAddIn” in the newer Machines. 


The above occurs mostly during using older version backup components during restore process in latest version newer machines. This error may appear during the stage where, you are trying to update an existing older SOLIDWORKS task add-in in a file vault.

Reason:

An Add-in in PDM will have two identifications:

• Name (File Name)
• Internally generated Class ID (CLSID).


As newer versions of PDM are built, the default SOLIDWORKS Task add-in is also recompiled and updated to match the newer version (and might have new fixes etc). The Class ID of the task add-in remains the same though (since it is the same add-in project).

The default name of the task add-in is “SWTaskAddin.dll”. In some cases, there might exist an older task add-in, but where the name of the add-in is “SWTaskAddin64” - instead of the default “SWTaskAddin” name. So, when a newer version of the add-in is imported, that has the same Class ID but a different name, you get the error that there is an existing add-in with same CLSID and the add-in fails to update.


Troubleshooting Tips:

To get around the problem you need to rename the existing task add-in to the default name so that it can be updated with a newer add-in having same CLSID.

1. Close the Administration tool.
2. Use SQL Server Management Studio Tool& Expand respective Database.


3. Expand tables, right-click table “SystemFiles”, Select “Edit top 200 rows” and locate the row containing the task add-in “SWTaskAddIn64.CAF”


4. Rename it to “SWTaskAddIn.CAF”.



5. Reopen the Administration tool. The existing task add-in should now show up as “SWTaskAddIn”.


6. To upgrade the task add-in to current format, open “C:\Program Files\SOLIDWORKS PDM\Default Data\Convert_gb.cex” and drag and drop the SWTaskAddin add-in to the vault. Select Yes to apply the changes.


7. The SOLIDWORKS task add-in should now be upgraded to current format while keeping the existing tasks.


Contact Us: Have questions or need assistance? Feel free to reach out!

Phone: +91 94454 24704
Email: mktg@egs.co.in

Comments

Popular posts from this blog

SOLIDWOKRS TECH TIP - SOLIDWORKS PROPERTY TAB BUILDER

Confused With Wire/Cable Harnessing? - Harnessing Technology By SolidWorks Electrical

SolidWorks Electrical Solutions for Control Panel Design