Hi Everyone!

I posted that question to microsoft.public.infopath group but with no
luck.interest. Maybe here I'll get more... ;]

I'd like to publish my first form template to Sharepoint but two
things appear:

1. After creating a simple form i Infopath I'm trying to publish it
to
"Sharepoint server with or without Form Services" (WSS 3.0 don't have
these services as far as I know...). When asked for URL of my site i
tried various verisions of URL (http://server/ or http://server/sites/ThatSite/
or http://server/sites/ThatSite/FormLib/Forms/AllItems.aspx or used
IP
address of the server). I get questioned for the user/password,
give'em (with farm administrator rights) and still I cannot
connect :/
"The URL is incorrent"
What format of URL is correct here?

2. If I'm trying to add a new template from the Sharepoint (in
FormLibrary i click New->Document and have the opportunity to choose
XSN file) it also gets strange. Nevermind if I chose my simple form
or
those template exaples from Office12 folder I cannot publish them
because:
"The Element 'comment' is used but not defined/declared in DTD
schema". I dont recollect using on purpose anything like 'comment'
myself. What;s that?

I tried to save my template to source files and after searching
through them i found only one place where word 'comment' appears:
In file: upgrade.xsl
At the begining:

<xsl:template match="/">
<xsl:copy-of select="processing-instruction() | comment()"/>

I'll be grateful for any useful ideas ;)

Cheers guys!

Bullvan the Newbie

Re: Can't publish Infopath form... by Mike

Mike
Fri Aug 03 02:43:47 CDT 2007

WSS 3.0 doesn't indeed include Forms Services. If you want users who
don't have InfoPath 2007 installed on their clients to be able to access
your forms, your domain needs to include a server running Forms Server
(or of course use instead of WSS 3.0 a version of MOSS 2007 that
includes Forms Services supoort)

This doesn't answer your question but posting your forms to a Forms
Library without either of the above options in place will be a waste of
time even if you can get it to work.

Mike Walsh
WSS FAQ http://www.wssfaq.com
no questions by e-mail please



Bullvan wrote:
> Hi Everyone!
>
> I posted that question to microsoft.public.infopath group but with no
> luck.interest. Maybe here I'll get more... ;]
>
> I'd like to publish my first form template to Sharepoint but two
> things appear:
>
> 1. After creating a simple form i Infopath I'm trying to publish it
> to
> "Sharepoint server with or without Form Services" (WSS 3.0 don't have
> these services as far as I know...). When asked for URL of my site i
> tried various verisions of URL (http://server/ or http://server/sites/ThatSite/
> or http://server/sites/ThatSite/FormLib/Forms/AllItems.aspx or used
> IP
> address of the server). I get questioned for the user/password,
> give'em (with farm administrator rights) and still I cannot
> connect :/
> "The URL is incorrent"
> What format of URL is correct here?
>
> 2. If I'm trying to add a new template from the Sharepoint (in
> FormLibrary i click New->Document and have the opportunity to choose
> XSN file) it also gets strange. Nevermind if I chose my simple form
> or
> those template exaples from Office12 folder I cannot publish them
> because:
> "The Element 'comment' is used but not defined/declared in DTD
> schema". I dont recollect using on purpose anything like 'comment'
> myself. What;s that?
>
> I tried to save my template to source files and after searching
> through them i found only one place where word 'comment' appears:
> In file: upgrade.xsl
> At the begining:
>
> <xsl:template match="/">
> <xsl:copy-of select="processing-instruction() | comment()"/>
>
> I'll be grateful for any useful ideas ;)
>
> Cheers guys!
>
> Bullvan the Newbie
>

Re: Can't publish Infopath form... by Bullvan

Bullvan
Fri Aug 03 04:44:55 CDT 2007

On 3 Sie, 09:43, Mike Walsh <englantilai...@hotmail.com> wrote:
> This doesn't answer your question but posting your forms to a Forms
> Library without either of the above options in place will be a waste of
> time even if you can get it to work.

Sure. At the moment all interested users have InfoPath 2007 installed
so we don't need Forms Server.
Thx anyway.

What format of URL works for You? Just asking because this message
bothers me. It's strange as I don't know what to do as there aren't so
many possible combinations and I probably have tried them all so far.
Publishing documents from Word or workflows from SP Designer work just
fine...

TIA

Keep rockin'
Bullvan


Re: Can't publish Infopath form... by callahan

callahan
Sun Aug 05 20:40:58 CDT 2007

Bullvan,

I used the Infopath wizard to add the Form template to the Form Library. It
worked like a champ with no problems. I used the standard URL for the
library (the Wizard did it for me).

I think I was using an earlier version of InfoPath, but I used the Publish
Form Template in the Design Tasks pane. The URL I used for the location of
Sharepoint was the address of the web application containing the site that
held the library (in my case it was http://servername because the web app,
and site, were the first made on that server).

Then I chose whether or not I was associating the form template to a library
or content type. In your case you want to choose document library (that's
what InfoPath considers a Form Library). *That* is what gets you to the
wizard screen where you can choose the library you want to add the template.
That's what I did. It brought up all the libraries at http://servername. I
just chose the library I wanted, and went through the rest of the wizard
without a problem.

As for your error with the template itself. I've never seen that. However,
I am not an InfoPath guru by any means. For what it's worth, the Form
library I set up for the client worked like a champ, so it can be done. No
client problems either. Well, none yet. ; )

-callahan

"Mike Walsh" <englantilainen@hotmail.com> wrote in message
news:OTDfHIa1HHA.1100@TK2MSFTNGP06.phx.gbl...
> WSS 3.0 doesn't indeed include Forms Services. If you want users who don't
> have InfoPath 2007 installed on their clients to be able to access your
> forms, your domain needs to include a server running Forms Server (or of
> course use instead of WSS 3.0 a version of MOSS 2007 that includes Forms
> Services supoort)
>
> This doesn't answer your question but posting your forms to a Forms
> Library without either of the above options in place will be a waste of
> time even if you can get it to work.
>
> Mike Walsh
> WSS FAQ http://www.wssfaq.com
> no questions by e-mail please
>
>
>
> Bullvan wrote:
>> Hi Everyone!
>>
>> I posted that question to microsoft.public.infopath group but with no
>> luck.interest. Maybe here I'll get more... ;]
>>
>> I'd like to publish my first form template to Sharepoint but two
>> things appear:
>>
>> 1. After creating a simple form i Infopath I'm trying to publish it
>> to
>> "Sharepoint server with or without Form Services" (WSS 3.0 don't have
>> these services as far as I know...). When asked for URL of my site i
>> tried various verisions of URL (http://server/ or
>> http://server/sites/ThatSite/
>> or http://server/sites/ThatSite/FormLib/Forms/AllItems.aspx or used
>> IP
>> address of the server). I get questioned for the user/password,
>> give'em (with farm administrator rights) and still I cannot
>> connect :/
>> "The URL is incorrent"
>> What format of URL is correct here?
>>
>> 2. If I'm trying to add a new template from the Sharepoint (in
>> FormLibrary i click New->Document and have the opportunity to choose
>> XSN file) it also gets strange. Nevermind if I chose my simple form
>> or
>> those template exaples from Office12 folder I cannot publish them
>> because:
>> "The Element 'comment' is used but not defined/declared in DTD
>> schema". I dont recollect using on purpose anything like 'comment'
>> myself. What;s that?
>>
>> I tried to save my template to source files and after searching
>> through them i found only one place where word 'comment' appears:
>> In file: upgrade.xsl
>> At the begining:
>>
>> <xsl:template match="/">
>> <xsl:copy-of select="processing-instruction() | comment()"/>
>>
>> I'll be grateful for any useful ideas ;)
>>
>> Cheers guys!
>>
>> Bullvan the Newbie
>>



Re: Can't publish Infopath form... by Bullvan

Bullvan
Tue Aug 07 02:59:56 CDT 2007

On 6 Sie, 03:40, "callahan" <cacalla...@NOSPAM.computer.org> wrote:
> I used the Infopath wizard to add the Form template to the Form Library. It
> worked like a champ with no problems. I used the standard URL for the
> library (the Wizard did it for me).

Good for You ;) I'm still clueless. What's moe I know InfoPath CAN
communicate with my sharepoint site, as I chose Menu File->Open from
Sharepoint website... and after filling THE SAME URL I was using while
attempting to publish and Infpath connects to my website, showing
properly my lists (Shared Documents etc.)..

I do not do such things, but maybe I'll try reinstalling Infopath...

Hmmm. One more thing. I've got WSS 3.0 installed on server, and
Infopath 2007 on my client computers. I think I don't need Infopath
(or forms services) on the server as long as I have Infopaths 2007
istalled on client computers and don't need forms to open in a
browaser.... Am I right? Thanks for all feedback.

Cheers, Bullvan


Re: Can't publish Infopath form... by callahan

callahan
Tue Aug 07 07:10:10 CDT 2007

Sorry to hear that didn't help Bullvan, it worked for me.

Further, I didn't need to have InfoPath on my server at all to get it to
work.

I don't know what to tell you, but if you do get your problem resolved,
could you please come back and let us know? Someone else is probably going
to have the problem at some point-- maybe even me. So sharing the fix would
really help. : )

-callahan
"Bullvan" <jacek.bulwan@gmail.com> wrote in message
news:1186473596.635622.41220@w3g2000hsg.googlegroups.com...
> On 6 Sie, 03:40, "callahan" <cacalla...@NOSPAM.computer.org> wrote:
>> I used the Infopath wizard to add the Form template to the Form Library.
>> It
>> worked like a champ with no problems. I used the standard URL for the
>> library (the Wizard did it for me).
>
> Good for You ;) I'm still clueless. What's moe I know InfoPath CAN
> communicate with my sharepoint site, as I chose Menu File->Open from
> Sharepoint website... and after filling THE SAME URL I was using while
> attempting to publish and Infpath connects to my website, showing
> properly my lists (Shared Documents etc.)..
>
> I do not do such things, but maybe I'll try reinstalling Infopath...
>
> Hmmm. One more thing. I've got WSS 3.0 installed on server, and
> Infopath 2007 on my client computers. I think I don't need Infopath
> (or forms services) on the server as long as I have Infopaths 2007
> istalled on client computers and don't need forms to open in a
> browaser.... Am I right? Thanks for all feedback.
>
> Cheers, Bullvan
>



Re: Can't publish Infopath form... by Bullvan

Bullvan
Tue Aug 07 07:35:48 CDT 2007

On 7 Sie, 14:10, "callahan" <cacalla...@NOSPAM.computer.org> wrote:
> I don't know what to tell you, but if you do get your problem resolved,
> could you please come back and let us know?

Sure thing, that's what newsgropups are for ;)

Cheers, Bullvan


Re: Can't publish Infopath form... by Bullvan

Bullvan
Wed Aug 08 07:01:28 CDT 2007

On 7 Sie, 14:10, "callahan" <cacalla...@NOSPAM.computer.org> wrote:
> Someone else is probably going
> to have the problem at some point-- maybe even me. So sharing the fix would
> really help. : )


Finally I found solution. I found it here:
http://www.sharepoint-tips.com/2007/02/publishing-infopath-to-sharepoint.html

As it occures Infopath can publish only if site is on the root (eg.
http://server) not anywhere else (eg. http://server/sites/mysite )

That looks like a wierd bug because as I said earlier Infopath has no
problem with understanding such URLs while opening templates from
Sharepoint Form Libraries.

Thanks fot the interest guys, keep rockin'

Bullvan


Re: Can't publish Infopath form... by callahan

callahan
Wed Aug 08 09:16:37 CDT 2007

OMG, thanks for that!

I never realized that was an issue because I've only worked with Forms
Libraries on the root site.

That bug is pretty sad actually, what is MS thinking?

I wonder Bullvan, can you make a library template out of the form library
and see if you can use it elsewhere? Also, did you try making a content
type with that form template from InfoPath and using it on subsites? I
wonder if that would be the thing that fixes it? Making a content type on
the top level site, then using it as the content type for the form library
elsewhere, does that make sense?

-callahan
"Bullvan" <jacek.bulwan@gmail.com> wrote in message
news:1186574488.019372.117470@19g2000hsx.googlegroups.com...
> On 7 Sie, 14:10, "callahan" <cacalla...@NOSPAM.computer.org> wrote:
>> Someone else is probably going
>> to have the problem at some point-- maybe even me. So sharing the fix
>> would
>> really help. : )
>
>
> Finally I found solution. I found it here:
> http://www.sharepoint-tips.com/2007/02/publishing-infopath-to-sharepoint.html
>
> As it occures Infopath can publish only if site is on the root (eg.
> http://server) not anywhere else (eg. http://server/sites/mysite )
>
> That looks like a wierd bug because as I said earlier Infopath has no
> problem with understanding such URLs while opening templates from
> Sharepoint Form Libraries.
>
> Thanks fot the interest guys, keep rockin'
>
> Bullvan
>