Error only on Server: Could not load type ‘Aspose.Cells.CollectionBase

Hello,

we get an error at the access to a Aspose.Cells.Worksheet that only occurs on the server. In local debug mode anything works fine.

Error:

Could not load type ‘Aspose.Cells.CollectionBase`1’ from assembly ‘Aspose.Cells, Version=19.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’.

I use the current version of Aspose.Cells with the current licence file.
The error just happend since I changed to the current DLL and licence file. The files on the server are all current.

Do you have an idea what this error could mean?

Regards
Ringo

@degewa,
Well Aspose.Cells has dependencies over some dlls. You may please add System.Drawing.Common from the NuGet package manager to resolve this issue. In some cases you may also require System.Text.Encoding, however while using NuGet package manager, it automatically fetches all the required dependencies based upon the API calls used in the application.

If you are still facing issue, please provide us your environment details, sample code (if any) and steps to reproduce the issue. It will help us to observe the problem and provide our feedback.

Thank you very much. It works.

Best regards
Ringo

@degewa,

Good to know that your issue is sorted out. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.