The following url is not valid ...
This problem also occurs when you try to publish the InfoPath form to a site collection other than the root site collection.
Back to the top
This problem occurs because InfoPath makes a call to determine the version of SharePoint Server that is being run by the server. This call is performed as part of the publishing process, and the call is made to the root site collection. When no root site collection exists, the call cannot to determine the version of SharePoint Server that is being run by the server. Therefore, the publishing process fails.