SharePoint Developer Center > SharePoint Products and Technologies Forums > SharePoint - InfoPath Forms Services > the following url is not valid when publishing form to sharepoint site
Ask a questionAsk a question
 

Questionthe following url is not valid when publishing form to sharepoint site

All Replies

  • Tuesday, November 03, 2009 10:07 AMAshraf ul Islam Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Fadwa,

    • The first place to look at is, make sure you have got root site collection created on your target MOSS server ("/").
    • Make sure you have SSP created and configured.
    • If your site is not on default port, you may need to register your site in host file (normally available under WINDOWS\system32\drivers\etc  hosts. Edit file in notepad and add a line in the bottom in a format <YOUR SERVER IP>   <HOST-HEADER>, or you might need to have a look at dns to make sure your server is registered there for infopath to access your site.




    Ashraf ul Islam
    Sharepoint Consultant
  • Tuesday, November 03, 2009 12:12 PMAshwin A. Bhagwat Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Make sure there should be Site Collection created at Root level for selected Web Application. This is the solution for this error.

    If you created Web Application e.g. 8888. Make sure you have created the Site at http://server:8888 otherwise it will give "Invalid Url" error even if Site is created at http://server:8888/sites/site & no site exist at http://server:8888 root level.
    Cheers, Ashwin B.
  • Tuesday, November 03, 2009 2:53 PMFadwa Mohammed Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Dear , Ashraf

    I'm trying to do that but still the error display
  • Tuesday, November 03, 2009 2:54 PMFadwa Mohammed Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    how i can known how the site collection created
  • Tuesday, November 03, 2009 3:04 PMAshraf ul Islam Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Fadwa,

    Make sure you have enough permission on sharepoint (root site collection), because when you provide url (Sharepoint root site collection) in InfoPath publishing wizard, it tries to connect target sharepoint server, so if you don't have permission on your sharepoint root site collection then InfoPath will return you the error, not accurate enough though in most cases.
    Ashraf ul Islam
    Sharepoint Consultant
  • Tuesday, November 03, 2009 3:30 PMChris Caravajal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    Try this:

    1)  Central Administration > Application Management > Site Collection List
    2)  Select the Web Application for your site collection
    3)  Find your site collection and is the url for the site collection the same as the one you are using to publish the form?



    Chris Caravajal MCTS SharePoint Help