Unable to publish browser enabled InfoPath forms to a SharePoint form library

Posted: August 3, 2011 in infopath, sharepoint 2007
ISSUE
User will get the following error while publishing an InfoPath form template to a form library in spite of the fact that the template is browser compatible “This form template is browser-compatible, but it cannot be browser-enabled on the selected site.”
CAUSE
This problem happens which you delete the default form library which is created when the first time enterprise features are enabled called “form templates”
RESOLUTION
Deactivate and Activate the InfoPath features again using force switch. To do so, run the following commands:
stsadm -o deactivatefeature -filename IPFSSiteFeatures\feature.xml -force -url %SITE_COLLECTION_URL%
stsadm -o deactivatefeature -filename IPFSWebFeatures\feature.xml -force -url %SITE_COLLECTION_URL%
stsadm -o activatefeature -filename IPFSSiteFeatures\feature.xml -force  -url %SITE_COLLECTION_URL%
stsadm -o activatefeature -filename IPFSWebFeatures\feature.xml  -force -url %SITE_COLLECTION_URL%
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s