Publish to InfoPath Forms Services Site

J

James

Hi,

I am attempting to publish an InfoPath 2007 Form (the Travel Request sample)
to a SharePoint Services 2007 site which also has Forms Server 2007
installed. Everything is running on my laptop, and the top-level site is the
root of my virtual server on port 80. The name of my machine is RED, so the
URL to my top-level site is http://red or http://red:80.

The steps I took are as follows:
* Select InfoPath File menu, then Publish.
* Select "To a SharePoint server with or without InfoPath Forms Services"
* Click "Next".
* Under "Enter the location of you SharePoint or InfoPath Forms Services
site", I enter "http://red" (also tried "http://red:80", "red", and
"http://red:8080" - the path to the Central Administration site).
* I get a dialog box with the following error message: "The following URL is
not valid: http://red". I cannot go any further.

This is the first time I have tried to publish an InfoPath form to
SharePoint, so I may not understand the proper steps. Can anyone please
enlighten me?

Thanks.
 
M

Madhur

James said:
Hi,

I am attempting to publish an InfoPath 2007 Form (the Travel Request
sample) to a SharePoint Services 2007 site which also has Forms
Server 2007 installed. Everything is running on my laptop, and the
top-level site is the root of my virtual server on port 80. The name
of my machine is RED, so the URL to my top-level site is http://red
or http://red:80.

The steps I took are as follows:
* Select InfoPath File menu, then Publish.
* Select "To a SharePoint server with or without InfoPath Forms
Services"
* Click "Next".
* Under "Enter the location of you SharePoint or InfoPath Forms
Services site", I enter "http://red" (also tried "http://red:80",
"red", and "http://red:8080" - the path to the Central Administration
site). * I get a dialog box with the following error message: "The
following URL is not valid: http://red". I cannot go any further.

Hi James

First check if there is any site collection present under your root level
site.
Fire ur your browser and try opening http://red.
If the site doesnt comes up, you need to create a root level site collection
from the central Administration.

Sorry if you have already done that.

Madhur Ahuja
 
J

James

Hi Madhur,

Thank you for responding. There is a site collection, and http://red does
take me to the SharePoint site. I also tried a second site that does not
start at the root: http://red/sites/test. InfoPath tells me that URL is
invalid as well. So I started to wonder how it is validating the URL. I
cleared the IIS logs, and tried again. IIS did not log any requests to my
SharePoint site. So InfoPath must be checking the format of the URL, not
whether it exists or not. Then I tried the example url that the wizard
places directly below the textbox: http://www.example.com. It also gives me
the same invalid URL message.

Thanks again.

James
 
W

Winson

I also face with similar problem. Even I can successfully pass the URL test,
the option for posting the web browser form was grayed. It means that I can't
publish a web browser form into the Forms Server. Please give advice!
 
J

James

Winson,

Can you provide some details about your installation and the URL you used?
I would like to know what I did different that prevents my URL from
validating.

Thanks.
 
M

Madhur

Hello James

Try going to Central Admin -> Configure Infopath Services.
There are some restriction set there. Try removing those restrictions.

Also make sure that Form Services and other required services are
running at Central Admin ->Services on Server.

Hope that helps.

Madhur Ahuja
 
J

James

Madhur,

Thank you for those suggestions. I already had Forms Services enabled, and
had tweaked the restrictions earlier, but I still could not get past the URL
validation.

I did find the answer though. After installing the drivers to my wireless
card, then connecting to the internet, I tried again. This time I got past
the URL validation, and went on to creating a new form library and publishing
my InfoPath form.

For some reason, InfoPath needs a network connection even if the site is on
the same machine.

Thanks for all of your help.

James
 
W

Winson

James,

The server configuration is like this:
MS SQL 2005 Express Advanced Edition
Form Server 2007 (by selecting the "Advanced" option and select the
"Complete" check box)

I can sucessfully create a new Web Application and associated it with the
"Shared Service". But I can't get pass the URL check, like the one you
mentioned before (the Infopath software is also installed in the Form
Server). So what do you mean by the network connection? Does it mean that I
need to install the Infopath software in another machine (not on the same
machine)?

Winson
 
J

James

Winson,

I built my laptop in the following order:
* Windows 2003 Server Standard
* IIS
* SQL Server 2005 Standard
(not reporting services, or you will be unable to create a new
SharePoint site)
* Visual Studio 2005 Team Edition for Software Architects
* Windows Workflow Foundation Beta 2.2
* Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2.0
* SharePoint Services 2007
* Office Professional Plus 2007
* SharePoint Designer 2007
* Forms Server 2007

Everything worked smoothly, except for the URL validation when publishing an
InfoPath form to the SharePoint site. Once I configured my network adapter
and connected to the internet, the problem went away.

Everything is still installed on the same machine.

Hope that helps.

James
 
W

Winson

James,

Thank you for your help. Everything works fine now! I have one more
interesting question:

A document library is a collection of documents (forms) ->
Different forms will be based on different templates ->
So a document library should support more than one form template->
However, it seems that the Forms Server does not support this feature!
It seems that it only support one form template for one document library and
the template will be saved as "Template.xsn" even though the template uses a
different name in the InfoPath software! So the URL to fill in the form in
web browser will become: "http:\\server_name\site_name\Forms\Template.xsn"
Am I coorect?

Winson
 
M

Madhur

Yes, you are create.
A form library is based on one template only. What gets saved in the library
is the XML file which contains the information to fill up the form. So you
dont
have the multiple forms, just multiple XML's which are different values to
fill
the same form.

Hope this helps

Madhur Ahuja
 
R

redjockey

Do we need to install forms 2007 rfor getting rid of the url
validity????

Because am still getting the same issue but i dont have the forms
server installed.

Vinod
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top