exception for sharepoint sandbox

2 posts, 0 answers
  1. william
    william avatar
    7 posts
    Member since:
    Dec 2010

    Posted 25 Apr 2011 Link to this post

    Hi all,

    I use telerik ASP.NET AJAX control to develop sharepoint webpart, but in sharepoint sandbox model, it throw this exception below:

    I add RadTextBox of telerik ASP.NET AJAX to the page. but it throw the Exception: "Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred". I debug my code, but I catch nothing about this exception. 

    In my code, i just use Page.Controls.Add(...) to add terelik control into page, but throw this exception. then I try to use Page.Controls.Add(..) method to add a ASP.NET control into page, it is OK.

    I know many restrictions in sharepoint sandbox model, one of these is "can’t access code that is not marked to allow partially trusted callers". I wonder this exception is relationship with it. any configuration i should set into web.config file?

    anyone can give me some suggestions?

    thanks.
  2. Marin
    Admin
    Marin avatar
    1057 posts

    Posted 28 Apr 2011 Link to this post

    Hello william,

    The current version of Telerik Sharepoint Acceleration Kit does not support Sharepoint solutions in Sandbox environment because of problem with the integration of controls implementing IScriptControl interface in sandbox model. We have contacted Microsoft several times without much luck so far.

    Regards,
    Marin
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top