Error publishing an InfoPath Form: The following URL is not valid.
Today, I tried to publish an Infopath Form to MOSS, but I received the following error message:
The following URL is not valid: http://servername/sites/sitename
Different solutions are available for this problem, but in my case the cause seemed to be that there was no root site (http://servername).
So the solution was to edit the site collection and create a site with URL “/”