Tuesday, August 2, 2011

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

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%

No comments:

Post a Comment