Cannot publish InfoPath forms or cutomized list forms in SharePoint lists (2010)

Christmas Holidays are over, and what could be more fun than coming back from holidays to error messages through SharePoint.

It seemed when a user tried to edit an infopath form of their site collection they were unable to republish the form getting the following error message:

Error Message

“The publish operation could not be completed. It cannot be determined if the form template was successfully published. Try publishing the form template again, or change the list settings to use the default SharePoint form”

It didn’t matter how little was changed in the form or whether it was a form libray or trying to customize the form of a regular SharePoint List:

Customize Form

viewing the details of the error message:

“InfoPath cannot connect to the server. The server may be offline, your computer might not be connected to the network, or InfoPath Forms Services 2010 might not be enabled on the server. To fix this problem, start by checking your network connection, and then trying again.”

From this we can narrow down the issue to be with InfoPath Forms Services since we are able to connect to the Site collection fine.

Since this was not an issue with other site collections we can narrow it down further that it is only with the InfoPath Site Features (IPFSSiteFeatures). This is a hidden feature in all site collections and can only be viewed through PowerShell. I found by simply disabling an re-enabling this feature fixed the problem.

PS C:\> Disable-SPFeature "IPFSSiteFeatures" -url "http://Server/Sites/SiteCollection"
PS C:\> Enable-SPFeature "IPFSSiteFeatures" -url "http://Server/Sites/SiteCollection"

Hope this helps

10 thoughts on “Cannot publish InfoPath forms or cutomized list forms in SharePoint lists (2010)

  1. Pingback: Cannot publish InfoPath custom list form | Big Eric's Place

  2. Pingback: Publish InfoPath form to SharePoint 2013 document library | simplyawesomeamerica

  3. The 2013 feature exists, and is named “IPFSWebFeatures”. Even if this didn’t fix the InfoPath publishing for me, it’s worth mentioning.

  4. Pingback: “InfoPath cannot connect to the server” – that sucks… | SharePoint Duffbert

    • For SharePoint 2013, the service is called: IPFSWebFeatures, however I am not sure if this is possible for SharePoint online as it relies on the client side powershell commands and I have yet to dig into those.

  5. Pingback: InfoPath form issue cannot connect to the server | S-E-N-S-E Developers' Corner

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your 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 )

Connecting to %s