I realize of course that there is another question with the same title, and mine is a very similar question, but with a slightly different issue, I think:

I have created an empty feature with an event receiver. I uncommented the FeatureActivated and FeaturedDeactivating methods, but they have no implementation.

When I press F5 to deploy from SharePoint 2010, it builds, but then fails with the error as it appears in the title.

I couldn't find much useful in ULS, and there's nothing in the event log. What gives?

  • Is there anything else being deployed in the Feature?
    – James Love
    Oct 29, 2011 at 22:00
  • @JamesLove nothing. Oct 31, 2011 at 16:40

1 Answer 1


Regardless of what code, or lack thereof, is contained in the solutuion SharePoint will still execute the user/sandobexed soultion inside the sandbox, i.e. it is run but the User Code Service.

I'd take a look at the setup of the User Code Serivce and verify that it is correct, this blog posting may help: http://bramnuyts.wordpress.com/2011/05/17/sandboxed-code-execution-request-failed/

I've also encoutered problems deploying sandboxed solutions from visual studio where they just would not work until they had be been deployed and activated manually once.

  • I changed the setting as suggested, and it appears to have worked. However, my farm is a standalone installation (and a fresh installation), so why would this work now and now before? Oct 31, 2011 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.