Search code examples
c#add-insolidworks

Trouble shoot Pdm Add-In : Class ID not found in registry


Trying to create a Solidworks PDM Add-In to retrieve information from our Epicor ERP system and add it to vars in a data card in PDM.

To retrieve the information from our Epicor erp system. I have added the necessary .dll references and set copy local to true.

It will work fine when loaded as a Debug Add-In, but it gives this error when loading as a live Add-In. Pdm error message "Error creating the add-in COM object from the DLL "Epicor.Mfg.BO.SysConfig.dll" Cause: The add-in registration succeded but the add-in's class ID could not be found in the registry."

If every user has the Epicor software on their machine. Could it potentially cause issues to register the .dll using regasm.exe? Would it have to be done on everyone's machine who could use the add-in?

Any suggestions ? Thanks.


Solution

  • You are using the library which is not compatible with SOLIDWORKS PDM (I'm not sure exactly the reasons but some of the libraries are causing conflict on registration). For example you might be using the System.Threading.Tasks.Extensions.dll in your project. Please see Failed to add SOLIDWORKS PDM Add-in - Class ID could not be found in the registry article for more information