We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error on setlicense

I am getting an error when trying to apply a new license I ordered for Aspose.Words

Request for the permission of type 'System.Security.Permissions.FileIOPermission,mscorlib, Version= ......

The line that errors out is:



<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Most likely, your application just does not have permissions to read the license file. That is why to get such exception.

For testing, you can try reading your license file into a Stream and apply license from stream.

Best regards,