I'm currently looking for a new job, preferably in the Asia-Pacific region but I would consider other regions as well. If you are hiring or have any leads, I would appreciate if you would drop me a message via the contact form, e-mail (daniel(at)spoodoo.com), Twitter, or LinkedIn.


InfoPath Form cannot be published because sandboxed solutions are not enabled

Did you come across this popup telling you that “The Form template cannot be published to the server” because “Sandboxed solutions are not enabled on the SharePoint server farm” and that you should “contact a site collection administrator or publish the template as administrator-approved form template” when working with InfoPath? If you don’t know what that means then you have probably (accidentally?) clicked one of the buttons in the Developer-tab which have added managed code to your form, and now you have a form which you can’t publish anymore.

The fix is easy…

Click File in the upper left corner followed by Form Options:

Then select Programming on the left hand side and click Remove Code on the right hand side:

Now you can publish your form again.

Happy SharePointing!

Tweet about this on TwitterShare on RedditShare on FacebookShare on Google+Share on LinkedInShare on StumbleUponShare on TumblrPin on PinterestDigg thisPrint this pageEmail this to someone


  1. THANK YOU! I couldn't figure out how to go back to "no code" so I could publish the form to a normal library.

    Saved me wasting any more time!

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.