posted on June 25, 2006 1:04 AM by Kurt

InfoPath Forms Services - Can't publish form

I'm currently working on a Federal Disaster Recovery Collaboration demo that heavily leverages InfoPath and Forms Services from Microsoft Office SharePoint Server 2007.  If you're not familiar, MOSS 2007 and Forms Services allows for InfoPath forms to be displayed directly in the browser.  Normally, Forms Services works out of the box, but the other day I ran into a bit of an odd situation.

Heres the error that I got:

 

This form template is browser-compatible, but it cannot be browser-enabled on the selecte site.  This may be caused by one of the following reasons:

  - The server is not running InfoPath Forms Services

  - The necessary features are not available on the site collection

  - The policy setting on the server does not allow users to browse enable templates.

The solution seemed pretty straight forward: enable Forms Services on the Site.  Looking at the suggestion from InfoPath, perhaps I didn't have the SharePoint feature that allows Forms Services on my site.  So, I went to the SharePoint Features page under Site Settings and activated the Office SharePoint Server Enterprise feature. Rerunning the publishing Wizard, I expected this to fix my problem ... but it didn't.

This turned out to be a bit of a noodle scratcher until I realized that although I enabled this feature on my subsite that I was going to publish to, I didn't enable it on my Site Collection.  So, the solution is enable Forms Services on the Site Collection (Site Settings -> Site Collection Settings -> Features).  Since I was trying to publish initially to the site collection, it rejects the form (even though the subsite could publish).

Now why did this work out of the box before on my previous installations?  My previous installations used the Corporate Intranet Publishing Site as a template for the site collection; the broken one used the Internet Presence template.  The difference here is the the Intranet Publishing Site activates these features by default - Internet Presence does not.

So the lesson here is: if you're going to use Forms Services on an Internet Presence site, activate the Office SharePoint Server Enterprise on the Site Collection first.

Comments

# re: InfoPath Forms Services - Can't publish form

July 23, 2006 11:20 PM by dwfbenben
Why in my Site Settings -> Site Collection Settings -> Features ,there are no "Office SharePoint Server Enterprise" feature and "enable Forms Services on the Site" feature ?
Can you help me, thanks !

# re: InfoPath Forms Services - Can't publish form

July 24, 2006 1:42 AM by dwfbenben
If you have any idea,pls. email to me.
my email address is : dwfbenben@163.com
thanks.

# re: InfoPath Forms Services - Can't publish form

August 4, 2006 7:31 AM by David
InfoJet Service, a product like InfoPath Form Services. http://www.infojetsoft.com

# re: InfoPath Forms Services - Can't publish form

August 6, 2006 3:44 PM by Scott Stanfield
This helped a ton, thanks! I couldn't see the Site Collection Features at first, because I wasn't in the right permissions group or something. And for some reason, my admin was seeting a different view of the enabled features. Like we were really looking at 2 different sites.

I finally got it to publish, but couldn't get it to display as a web page. Even after modifying the document library settings to display just as a web page.

Then I realized I had forgotten to check that box that's disabled in your screen shot. The one that says "Enable this form to be filled out...". Now it works.

# re: InfoPath Forms Services - Can't publish form

December 18, 2006 9:13 AM by Umesh Anand
No Office SharePoint Server Enterprise in feature in Site Settings -> Site Collection Settings -> Features ,there are no "Office SharePoint Server Enterprise" feature and "enable Forms Services on the Site" feature ?
Can you help me, thanks !
umesh@classicinformatics.com

# re: InfoPath Forms Services - Can't publish form

January 28, 2007 10:38 AM by Mike Zhang
You must obtain the permission to enable site features, usually if you are the wss or sps's system administrator, you have it be default, otherwise, ask the person who installed wss to enable it.