Error occurred in deployment step 'Add Solution': Sandboxed code execution request failed (but no implementation at all)

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/22318

  •  06-12-2019
  •  | 
  •  

Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top