Showing posts with label This Form Template Is Browser-Compatible. Show all posts
Showing posts with label This Form Template Is Browser-Compatible. Show all posts

16 March, 2011

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 message:

"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
1)   Open your SharePoint site
2)   Click on Site Actions 
3)   Site Settings
4)   Select Site collection features under Site Collection Administration
5)   Activate InfoPath Forms Services support or Office SharePoint Server Enterprise Site Collection feature

3. InfoPath 2007 client settings:
1)   Open the InfoPath client
2)   Tools
3)   Form Options
4)   Select the Compatibility category
5)   Check the 'Design a form template that can be opened in a browser or InfoPath'
6)   Click Ok

4. Form Publishing:

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

5. Document Library Settings:
1)   Open the document library
2)   Settings
3)   Document Library Settings
4)   Advanced Settings
5)   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

If you have any queries/questions then please let me know. I would be more than happy to help you as well as resolves your queries...