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

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.

share|improve this question

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.

share|improve this answer

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.