20
Views
1
Comments
EPPlus - Could not load type 'OfficeOpenXml.LicenseContext'
Application Type
Reactive

I've recently built my own extension that uses EPPlus library, Latest Version (6.2.0).
 The extension works as expected when used in my own personal environment. However, when used in the dev environment of my company it outputs the following error:

After researching a bit I found out that the last version that can be used commercially for free is the 4.5.3.3 version. So I went ahead and updated my extension to use the version specified on the error message (4.5.3.2). However, the error still appears even after downgrading the EPPlus package from latest version to 4.5.3.2.

What might be causing this error?

2022-12-28 12-37-38
Luis Dinis

Hi Giorgos,

Maybe in your environment you have others .dll for the OfficeOpenXml.LicenseContext.


I believe that you are facing the "DLL Hell" .
https://success.outsystems.com/support/troubleshooting/application_development/library_hell_why_are_changes_in_a_producer_not_reflected_in_the_consumers/

Hope it helps you.

Luís Dinis

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.