In my previous article, we discussed how to create an InfoPath form for SharePoint Server 2007. In this article we will understand that how can we publish and activate an InfoPath form in SharePoint Server 2007.
Publishing an InfoPath Form to a Sharepoint Server:
Before publishing the InfoPath Form to a Sharepoint Server, make sure that the form security level is set either to Domain Level or Full trust. In order to check the security level, click on Tools->Form Options, in the dialog box that appears, select "Security and Trust" from Category. And set the security level.
The security level should be set to "Domain" preferably. But if your code is using some external databases other than Sharepoint default databases, then you will have to choose "Full Trust".
To publish an InfoPath to Sharepoint Server proceed as follows:
Activating the form in the Sharepoint Server
The steps to activate the InfoPath form on Sharepoint Server are as follows: