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.


Daniel

InfoPath Form cannot be published because sandboxed solutions are not enabled

2016-04-08 01_12_59-Action center

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:

2016-04-08 01_20_32-(Design) Form1 - Microsoft InfoPath


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

2016-04-08 01_21_11-Form Options

Now you can publish your form again.

Happy SharePointing!

5 comments

  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 to PabloVM Cancel 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.