I often receive queries when user publishing the form using InfoPath facing 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 might not be enabled on the server. to fix this problem, start by checking your network connection, and then trying again.
It seems when user tries to edit the default form at site collection level, they are unable to republish it.
In order to fix this problem disable and enable the “IPFSSiteFeatures” which is InfoPath hidden features only viewable by SharePoint Management Shell.
PS C:\> Disable-SPFeature "IPFSSiteFeatures" -url “http://ServerName/Sites/SiteColllection/” PS C:\> Enable-SPFeature "IPFSSiteFeatures" -url “http://ServerName/Sites/SiteColllection/”
This solution will applies on SharePoint 2010 and 2013 and doesn’t required any downtime while running on production environment.