Hi Sivantos,
Thanks for your inquriy. Please note when you are working in shared server environment then you need to set Full Trust permissions. All Aspose .NET components are recommended to run with Full Trust permission set. This is because Aspose .NET component sometimes need to access registry settings and files located in places other than the virtual directory e.g. for reading fonts/images etc. So you need to set the necessary permission for Aspose.Pdf. Hopefully it will help you to understand the scenario.
Medium trust permissions does not work due to following limitations and please also check the [MSDN link] for more information.
Medium trust:
It specifies a medium level of code access security, which means that, in addition to the restrictions for High, the ASP.NET application cannot do any of the following things by default:
Access files outside the application directory.
Access the registry.
Make network or Web service calls (using the System.Net.HttpWebRequest class, for example).
Best Regards,