SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got the error message "The sandboxed solution could not be activated" when publishing an new empty infopath form with the default autogenerated c# code.

The Sharepoint 2010 User Code Host Running service is shown as started in the Windows Server console

The Sandboxed Code Service is Started in the Central Admin.

I can publish a form without code with no problems, and I also published with sucess a workflow .wsp as a solution amd activated it on the server.

There is no DC on the server.

Anyone have a clue on what could go wrong ?


share|improve this question
up vote 0 down vote accepted

Please reference Error when deploying InfoPath web-enabled form (custom code in the form cannot be run) and see if anything there helps you solve this.

(First and foremost though I would confirm that the form is set as full-trust under security and trust)

share|improve this answer
Yes indeed I succedded in publishing the form with the full-trust setting. Here is a post which describes the steps required to do so look for the comment in the middle of the post from user shrirampophali. Thanx Zork ! – Mihnea Niculescu May 21 '12 at 19:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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