Publish template to WSS 3.0 (bad URL, strange error)

B

Bullvan

Hi!

I tried to google around but with no result, so I turn to You guys ;)

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 server is busy or You don't have rights to this library"
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 id 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
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

Are you trying to publish new Infopath form and overwrite the old Infopath
template at the sharepoint site. because the Upgrade .xsl is created when you
change the Infopath form.
 
B

Bullvan

GGK said:
Are you trying topublishnew Infopath form and overwrite the old Infopath
template at the sharepoint site. because the Upgrade .xsl is created when you
change the Infopath form.


There are no templates at my sharepoint site yet. It would be the
first. Maybe upgrade.xls was created as I changed the form itself few
times (just xsn file on my local HDD).

And few new thought/ideas:

What's more 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.).. But in publish wizard I still get the BAD URL
Error...

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
browser.... Am I right? Thanks for any feedback.

Cheers, Bullvan
 
B

Bullvan

.. But in publish wizard I still get the BAD URL
Error...

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
 
B

Bullvan

Użytkownik "celliott said:
Did you find an answer to your second issue? I'm getting the same error.

thanks.

No, after succeeding in publishing forms the first way I didn't try anything
else but as I checked now the problem still appears.

Good luck, Bullvan
 

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