enter image description here is it possible to publish an info path 2012 form that have c# code inside it ? i tried to do that but when i click publish and choose one of the publish choices it gives me this message.

form template can't be published to the following location only site collection administrator can publish sandbox solution to continue contact site collection.


1 Answer 1


With managed code (.net like c#) you need to deploy your forms using the Administrator-approved for template (advanced) option. With this option you will push the file out to a file share and then an Administrator will import it into CA and deploy it like a farm solution.

Your Answer

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

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