Tuesday, June 26, 2012

This Form Template Is Browser-Compatible, But It Cannot Be Browser-Enabled On The Selected Site.

I have an Infopath form which is published to a document library in a sharepoint site. I am using Infopath 2007 and MOSS 2007 enterprise edition.When I try to publish the form, and when I check the box "Enable the form to be filled out by using a browser", I only have the option to publish the form as Administrator approved form template, the other options of publishing it in a document library or publishing it as a content type are grayed out. 


 The infopath wizard is throwing an error messag:


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


Troubleshooting Steps:


1. Check Central Administration Settings


-Central administration
-Application Management
-Click on Configure InfoPath Forms Services in the InfoPath Forms Services section (Check the following Check-boxes)
a. “Allow users to browser-enable form templates”
b.“Render form templates that are browser-enabled by users”


2. SharePoint Site Settings


-Open your SharePoint site
-click on Site Actions 
  -Site Settings
-Select Site collection features under Site Collection Administration
-Activate InfoPath Forms Services support or Office SharePoint Server Enterprise Site Collection feature


3. InfoPath 2007 client settings:


-Open the infopath client
-Tools
-Form Options
-select the Compatibility category
-check the 'Design a form template that can be opened in a browser or InfoPath'
-click Ok


4. Form Publishing:

-When you published the form on to a document library then please make sure this settings (imp step):
-check the “Enable this form to be filled out by using a browser” checkbox and finish.


5. Document Library Settings:


-Open the document library
-Settings
-Document Library Settings
-Advanced Settings
-select the “Display as a Web page” option in the Browser-enabled Documents category


After all these troubleshooting steps, if you still faces the same issue then please execute the below mentioned commands and your issue will be resolved:


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.EXE -o activatefeature -filename IPFSSiteFeatures\feature.xml -url %Sitecollection_URL% -force


STSADM.EXE -o activatefeature -filename IPFSWebFeatures\feature.xml -url %sitecollection_URL% -force

No comments:

Post a Comment