We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

A problem with using syncfusion libraries in .NET sandbox

Dear Sir/Madam,

we are developing a WPF application which runs in a sandbox. We are using syncfusion libraries and currently we are facing a problem of not being able to invoke any library from the sandbox. The application throws exception when we try to invoke any syncfusion library: 

The demand failed due to the code access security information captured during the creation of an anonymously hosted dynamic method. In order for this operation to succeed, ensure that the demand would have succeeded at the time the method was created. See http://go.microsoft.com/fwlink/?LinkId=288746 for more information.
We think this might be because we are trying to invoke the libraries from the sandbox which is usually limiting the access permissions granted to code. Also, we think the syncfusion libraries we have do not allow invoking from the partially trusted code(which might be the case with our application since it is running in a sandbox), like libraries containing a AllowPartiallyTrustedCallers attribute. 
What we need is a mechanism to invoke libraries from the application running in a sandbox. Any advice or a check that we should perform before getting help from your side will be performed ASAP.
The syncfusion license we have was purchased for this application specially and if we can not invoke it from the sandbox our license wil become useless. 

We would very very much appreciate your help on this matter.
Any workaround for this issue would be great!

Please tell me if you need any more details on the issue we are dealing with.

Thank you very much!

Danilo Vulovic

3 Replies

MM Muthalagu M Syncfusion Team April 7, 2014 05:49 PM UTC

Hi Danilo,

Thanks for using Syncfusion Products.

Currently our control does not support partial trust environment and we developed all it in fully trusted. If you need further assistance on this, could you please log ticket in our Direct Trac support with your syncfusion account.



HS harinder singh May 31, 2017 04:51 PM UTC

Hi Syncfusion Support,
has anything changed on this. 
does new version support partial trust environment ?

KJ Keerthana Jegannathan Syncfusion Team June 1, 2017 12:09 PM UTC

Hi Harinder, 
Currently, we have maintained our WPF Syncfusion controls with the fully trusted environment. We do not have immediate plan to develop it in partially trusted environment. 
Keerthana J 

Live Chat Icon For mobile
Up arrow icon