Urgent!!!!!!! Cannot open SharePoint Form Library!!!!!!

H

Hediru

Help!
I created a form library on SharePoint 2007 using InfoPath 2003. When I went
to test the form, I got an error message. When I attempted to fix the form, I
got the same error message. Now I cannot design the form at all. The error
message I received is below:

InfoPath cannot create a new, blank form.
InfoPath cannot open the form. To fix this problem, contact your system
administrator.

Show Details>>
Form template: https://wssites.vzbi.com/cfo/nSAPTest/SAP
Access/Forms/template.xsn
The form definition (.xsf) file cannot be opened because of an error.
The file cannot be validated by the XML Schema.

Element
'{http://schemas.microsoft.com/office/infopath/2003/solutionDefinition}header'
is unexpected according to content model of parent element
'{http://schemas.microsoft.com/office/infopath/2003/solutionDefinition}printSettings'.

Line 166, Position 17
<xsf:header>
----------------^

So, my questions are:
1. How do I open my form to fix the problem? Please don't tell me I have to
create it from scratch again!!!!
2. What caused the problem, how do I fix it, and how do I prevent it from
happening again?
 
S

Swathi

Hi,

Please take a back up of the template before trying this.

Open the form in Notepad. Search for <xsf:header>. Delete the related stuff
and save it.
 
H

Hediru

Thanks for the suggestion, but I tried opening the form and all the little
pieces of code that put it together in notepad and did the search for
<xsf.header> like you said, and found nothing. Now what?
 
H

Hediru

I did. It was just a typo in my post. Anyway, I recreated the form from
scratch yesterday, and now it works fine. Any idea what might have caused
this error, and how I can prevent it?
 

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