Error in medium trust environment

Hi,
in a ASP.NET web application I use signature object, in development environment all work properly, but when I test application in medium trust environment, as production server, I receive this error: System.Security.SecurityException: That assembly does not allow partially trusted callers.
The same problem occurs when exporting to pdf.


Syncfusion version: 18.4.0.34

3 Replies 1 reply marked as answer

KR Keerthana Rajendran Syncfusion Team January 18, 2021 05:39 AM UTC

Hi Pio Luca Valvona, 
 
Thanks for contacting Syncfusion support. 
 
To resolve the issue,  you need to request the hosting provider to provide full trust. Else , you need to host the application in your own servers with full trust level. 
 
Please refer to the following forums for more details on this issue. 
 
 
 
 
Please let us know if you need further assistance. 
 
Regards, 
Keerthana.  


Marked as answer

PL Pio Luca Valvona January 18, 2021 08:42 AM UTC

Such a request to the hosting provider, involves a complete assumption of responsibility on my part, I would like to avoid this. Is it not possible to solve the problem differently.


KR Keerthana Rajendran Syncfusion Team January 19, 2021 11:28 AM UTC

Hi Pio Luca Valvona,  
 
Sorry for the inconvenience. 
 
As mentioned earlier , this is the default behavior of Asp.Net controls too in  medium trust environment.  You can also follow up with the below forum for any alternate way to resolve this issue. 
 
 
Please let us know, if you need any further assistance with Syncfusion controls.  
 
Regards, 
Keerthana.  


Loader.
Up arrow icon