Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Sharepoint sandbox error

$
0
0

Hello everybody ! 

I've started coding under Sharepoint system with event receivers, more precisely list item events from document library, with this following code :

public override void ItemAdded(SPItemEventProperties properties)
{
            base.ItemAdded(properties);
            System.Diagnostics.Debug.WriteLine("ItemAdded");
            string url = string.Format("{0}/Shared Documents/Tuteur/NOMDUTUTEUR/{1}", properties.WebUrl, properties.ListItem.File.Name);
            System.Diagnostics.Debug.WriteLine(url);
            properties.ListItem.CopyTo(url); //Problem here
}

I've the error "The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request". I followed this link http://blogs.msdn.com/b/sharepointdev/archive/2011/02/08/error-the-sandboxed-code-execution-request-was-refused-because-the-sandboxed-code-host-service-was-too-busy-to-handle-the-request.aspx but nothing changed.

The system is Sharepoint 2010 under Windows 8, what can I do to solve this problem ?

Thanks in advance.

Best regards.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>