A common SOLIDWORKS PDM add-in error is "failed to extract add-in from (path to add-in .CAF) class not registered." This error could be specific to the user, the vault, or that specific add-in. This article describes steps to take to either determine the nature of the problem or how to resolve it.
Each client must download and register the add-ins installed in their PDM environment to effectively run those add-ins or any tasks based on them. This is done the first time a user logs into the vault view, any time there’s an update to the add-ins, and when necessary files/registrations are missing.
This is the usual process an add-in follows from creation (or update) to the client:
When this distribution process is interrupted in some way, an error will occur like the one shown above. There are a number of ways the process can be interrupted, so let's go through some of the most common causes and how to troubleshoot them.
A good place to start checking the cause of this issue is to confirm whether the files are even making it to the machine from the server. If the files don’t make it over, then troubleshooting on the client machine for prerequisites and permissions won’t matter.
In File Explorer, browse to the folder path listed in the error: C:\Users\[USERPROFILE]\AppData\Local\SolidWorks\SolidWorks PDM\Plugins\[vault name]\{CLSID}
If it’s distributing correctly, there should be one or more *.dll files and sometimes a .CAF file inside that folder. If the folder is blank, this is likely an issue with the archive distributing files to clients, and not an issue with the add-in itself. Check the local PDM logs to see why the client could not get the file from the Archive server.
If the file exists, try registering it manually. Sometimes the registration process can fail, but a manual re-try will succeed. Be sure to take a screenshot or write down the file path indicated in the error message.
If you’re repeatedly getting this specific error, instead of or in addition to the one shown above, it may be due to a recent install/upgrade missing necessary components for PDM. The Windows installer may have failed to register the AddInRegSvr64 class on the client, which would disrupt most/all add-ins rather than just one.
Sometimes the add-in has been updated to the server, but for some reason the mismatch isn’t triggering a refresh of the cached add-in (or it’s being interrupted) on the client.
First, make sure that your add-in is up to date (ensure the version of the add-in matches the version of your PDM environment). The first 4 numbers of the add-in represent the year and service pack. The rule is to take -8 off the first two numbers to get the actual year (i.e., 3303 for the Dispatch add-in below). [33 = year, 03 = service pack]. 33 – 8 = 25. So, you’ve got 2025 SP03. This should be the same version and SP as your PDM version.
Note: If you have multiple vaults on the same machine and they use the same add-ins, the shared add-ins must be on the same version, as PDM will only be able to download and register one copy per add-in.
If the add-in version doesn’t match the PDM version, upgrade it to match. If it does match, try manually triggering a cache refresh.
There are instances where either the download or registration of the DLL files fails, causing subsequent error messages to prompt when accessing the vault view. Clearing the AppData folder will force your system to re-download and register a fresh copy of the DLL files in question.
Occasionally, refreshing won’t work unless you reboot the machine at least twice. If an add-in has been replaced, it is possible that the older add-in DLL is loaded before it is replaced, which means the older add-in will still be in use. Rebooting the client workstation multiple times will ensure the updated add-in is loaded.
If an add-in relies on certain prerequisite programs and frameworks to function, missing those may prevent it from functioning on the client. The two main prerequisites we see pertaining to add-in issues are .NET and C++.
Windows 10 and Windows 11 operating systems only enable .NET Framework 4.5 by default, whereas .NET Framework 3.5 is optional. Many add-ins are still built with .NET Framework 3.5 or earlier, however, so you’ll need to enable it.
PDM should install C++ by default, but if this was missed for some reason, you can install it manually.
Most add-ins, including the default add-ins included with PDM vaults, are COM-based add-ins. A COM add-in is a supplemental program that integrates with a “host” software to extend its functionality rather than a standalone application. Each add-in has a name and an associated CLSID (or class ID) used to identify it. The CLSID is the long string of letters and numbers inside curvy brackets often seen in the add-in errors.
The system uses the Windows registry to link up an add-in’s CLSID to the correct version so it knows which files and calls to use to function. If you’ve upgraded PDM or have multiple vaults using the same add-ins, you end up with several pointers in the registry for a single CLSID, making it so that PDM can’t identify which one it should be using.
To fix this, start with the same steps as the Invalid Cache section above and clear out the existing add-ins on the client:
If your Windows user doesn’t have the correct permissions to those same CLSID keys in the registry, you can also see issues. To check this:
The Windows user account may not have permission to write to the C:\Users\[USERPROFILE]\AppData\Local\SolidWorks\SolidWorks Enterprise PDM\Plugins\[vault name] folder. You can check by right-clicking the folder > Properties > the Security tab. Ensure the logged-in user has Full Control permissions.
There are a lot of potential areas of disruption during the add-in distribution process. These are the most common causes for this add-in error, and hopefully, they’ll get you and your users back up and running. If these steps don’t work for you or if you have questions on this issue, however, you can reach out to our Technical Support team for more help if GoEngineer is your VAR.
Want to learn more? Check out more SOLIDWORKS PDM articles below. Additionally, join the GoEngineer Community to participate in discussions, create forum posts, and answer questions from other SOLIDWORKS users.
SHORTCUTS ⋅ SEARCHING ⋅ PDM ADD-IN
24 of our expert tips to help you master using SOLIDWORKS PDM. Improve performance, find files faster, and work like a pro.
SOLIDWORKS PDM Notifications in the Vault
Permissions to Move Files and Folders in the SOLIDWORKS PDM Vault
Permissions to Read and Edit Files in the SOLIDWORKS PDM Vault
SOLIDWORKS PDM Group Memberships by Folder
About Sean Mark
Sean is a Sr. SOLIDWORKS Technical Support Engineer at GoEngineer.
Get our wide array of technical resources delivered right to your inbox.
Unsubscribe at any time.