Security Exception Issue

Security Exception Problem

Some users may receive a “Security Exception” error while trying to use Aspose.Cells. This problem generally occurs in a web application.

Explanation

Aspose.Cells has to call some Win32 GDI APIs to provide some important features. If the web server has a strict trust level, this security exception may be thrown.

Solution

Please create a new permission set to grant Aspose.Cells.dll the necessary security permission, with “Allow calls to unmanaged assemblies” enabled.