The following URL is not valid in Info Path form publishing

Problem:
I have created a leave form and tried to publish it to my "Leave Form" library located at http://sharepoint:2222/sites/bat/leave form. But Infopath 2010 generates an error "The following URL is not valid http://....". when i  enter this URL  for infopath form services site.
Figure: Infopath form Services URL 
Figure: Infopath form publishing error
After trying couple of times the following workaround solved my problem.
The way i solved it: 
I have created a Site Collection named Marketing (for example) on my Web Application at the root Which is under http://servername:2222/ but not under http://servername:2222/sites/ .
Figure: Create Site collection at the root of web application 
And this has solved my problem.Now i can publish my form at http://servername:2222/sites/sitename/leave form library.

Figure: Infopath form publishing successfully
That's all.

Comments

Popular posts from this blog

Sending email using Powershell script

Convert List Collection to DataTable using C#

Difference Between Site Template and Site Definition