Tuesday, March 24, 2009

InfoPath form publishing Error: "The following URL is not valid "http://...."

Whenever we we try to publish the InfoPath forms using the File-->Publish option to a SharePoint server list we used to get the following error.

"The following URL is not valid "http://exampleurl/sites/sitecollection1"

We were able to resolve this issue by using either of the following approaches

Approach1:

  1. Creating a root site for the web application. (Don't know how this is fixing the issue. But its working :))

Approach2:

  1. Publish the template to a network location
  2. Upload the published template to the central admin.
  3. Activate the template as a content type feature in the site collection.
  4. Add the site content type into the form library.
  5. User the form using new-->form name(content type name)

No comments: