Abhishek Bhowmick | SharePoint Blog

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

Posted in Sharepoint by Abhishek Bhowmick on May 25, 2011

You get the following error when publishing an InfoPath form template to a form library even though the template is browser compatible

This form template is browser-compatible, but it cannot be browser-enabled on the selected site

 

This occurs when you delete the default “Form Templates” library which is created when the first time enterprise features are enabled for the site collection. You can find it under All Site Content page (../layouts/viewlsts.aspx)

 

To fix this, you must deactivate and activate the InfoPath features again using the below command lines with a force switch. Please ensure that the command lines are run in order.

Note: Replace the %SITE_COLLECTION_URL% section of the command line with your absolute site collection URL.

  • 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%

Once these command lines are run, you may verify the “Form Templates” library under the All Site Content page. You should now be able to publish the InfoPath form template to your SharePoint site.

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

%d bloggers like this: