Error installing add-ons: The type 'ExcelWorksheet' exists in both...

Dear,

We are having issues with installing several add-ons from the marketplace.
These same add-ons were successfully installed in other Creatio instances, but here with one specific website they are throwing errors.

1. https://marketplace.creatio.com/app/excel-reports-builder-creatio

2022-05-24 16:14:35,661 Compiling configuration dll
2022-05-24 16:15:33,735 Errors and (or) warnings occurred while compiling configuration dll
2022-05-24 16:15:33,735 Autogenerated\Src\IntReportHelper.IntExcelExport.cs(273,31) error CS0433: The type 'ExcelWorksheet' exists in both 'EPPlus, Version=4.1.0.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1' and 'EPPlus, Version=4.5.3.2, Culture=neutral, PublicKeyToken=ea159fdaa78159a1'

2. https://marketplace.creatio.com/app/email-approvals-creatio

2022-05-24 17:45:40,097 Compiling configuration dll
2022-05-24 17:46:32,008 Errors and (or) warnings occurred while compiling configuration dll
2022-05-24 17:46:32,008 Autogenerated\Src\IntReportHelper.IntExcelExport.cs(273,31) error CS0433: The type 'ExcelWorksheet' exists in both 'EPPlus, Version=4.1.0.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1' and 'EPPlus, Version=4.5.3.2, Culture=neutral, PublicKeyToken=ea159fdaa78159a1'

It is strange that they both throw the same error.
Is there any way to fix this?

Kind regards,
Vincent

Like 0

Like

1 comments

Hi Vincent,

Creatio platform doesn't allow installing one .dll library several times (in this case, EPPlus). Both errors indicate that you already have the EPPlus library installed on your Creatio site. The 'Excel reports builder for Creatio' app uses the library, while the 'Email approvals for Creatio' app does not.

The problem can be fixed by finding the other package that has the library on your Creatio site and manually removing the library from one of the packages to resolve the conflict.

Show all comments