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


So there are lots of posts on this error and forum discussions. I am just going to add one important note. Close InfoPath 2007 and re-open it before trying to publish the form.

It seems simple but I just forgot to do that and lost 10 minutes thinking the fixes didn’t work, and realized duhh I hadn’t closed the InfoPath application and re-opened it before trying again (must store/cache something related to the message). So… make sure you close and re-open InfoPath yo.

So high level overview of how to fix this error:

Error Message when trying to publish a browser-enabled InfoPath form (check box grayed out) – “This form template is browser-compatible, but it cannot be browser-enabled on the selected site.“

IF not using Enterprise Edition of MOSS:

  1. Install Microsoft Office Forms Server 2007 (independent product) on the SharePoint box if the Office server suite you use is lower than Enterprise (or if you are using Windows SharePoint Services 3.0). The Forms Services support is included in the Enterprise Office Server suite.
  2. After installed Forms Server, you’ll have a InfoPath Forms Services section at the Application Management page. To go here, click on Start -> Administrative Tools -> SharePoint 3.0 Central Administration and choose the Application Management tab on the top of the page. Click on Configure InfoPath Forms Services in the InfoPath Forms Services section and check both “Allow users to browser-enable form templates” and “Render form templates that are browser-enabled by users” checkboxes, then click the OK button on this page.
  3. Open your SharePoint site, click on Site Actions -> Site Settings, select Site collection features under Site Collection Administration and activate InfoPath Forms Services support or Office SharePoint Server Enterprise Site Collection feature.
  4. Start designing your form with the InfoPath 2007 client. In InfoPath, click on Tools/Form Options, select the Compatibility category and check the “Design a form template that can be opened in a browser or InfoPath“, then click OK. In the case if you miss this one and your form is browser-compatible, you get a warning message while publishing your form saying that “The server is running InfoPath Forms Services, but the compatibility settings for this form template is InfoPath only“.
  5. Make sure that your form is browser-compatible. You can use the design checker task pane in the InfoPath 2007 client to perform this task.
  6. Publish your form onto a SharePoint 2007 library. In the wizard, at step 3, check the “Enable this form to be filled out by using a browser” checkbox and finish publishing.
  7. If the check box is still grayed out (and showing error) CLOSE info path 2007 and re-open it and try again.
  8. At the end of the publishing wizard, select “Open this document library” and click on Close. This will open the document library in the browser. Click on Settings/Form Library Settings, then click on Advanced Settings and select the “Display as a Web page” option in the Browser-enabled Documents category. If you don’t choose this option, the form will be opened in InfoPath if it’s installed on the client. Otherwise, it’s going to be opened in the browser.

If SharePoint 2007 with Enterprise License:

Run the following commands to force deactivating and activating the Forms Services feature:

  1. stsadm -o deactivatefeature -filename IPFSSiteFeatures\feature.xml -force -url <<Target URL>>
  2. stsadm -o deactivatefeature -filename IPFSWebFeatures\feature.xml -force -url <<Target URL>>
  3. stsadm -o activatefeature -filename IPFSSiteFeatures\feature.xml -url <<Target URL>> -force
  4. stsadm -o activatefeature -filename IPFSWebFeatures\feature.xml -url <<Target URL>> -force

In the above stsadm command lines <<Target URL>> would be the url of your site collection. Example: “http://portal/sites/sitecollection&#8221;. Keep in mind that one of those features is scoped at the web level, so if it’s a sub site you need to activate that there, with the other one at the site collection level.

Then Close and re-Open InfoPath and try to publish, it should now work fine.

Oh and if for some reason neither of these work (god help you) also try deactivating and reactivating the site collection feature “Office SharePoint Server Enterprise Site Collection features” via the interface. Sorta does the same thing, but also ensures that the FormServerTemplates library is created appropriately.

Hope this helps someone,
Richard Harbridge

Advertisements
Explore posts in the same categories: InfoPath, Issue Resolution, Reference, SharePoint 2007, Troubleshooting, Workaround

Tags: ,

You can comment below, or link to this permanent URL from your own site.

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: