InfoPath cannot open the following form

M

Meg

I have a form that I am creating in InfoPath 2003, SP2....(I am connected to
an Access Database) I am just about through with it and it was working fine,
however I have been publishing it to one location and then testing and
making changes again and again to perfect it and then publishing it.

Problem: When I published it this last time, and then tried to open it I
got the following error message:

InfoPath cannot open the following form: (form location) the form definition
(.xsf) file contains errors.

When I click on Show Details it gives me the following: The form definition
(.xsf) file contains elements, attributes, or structures that are not valid.
Error details: The keyref 'ruleSet_26' does not resolve to a key for the
Identity Constraint

How can I get to this form? I am desparate, I do not want to start from
scratch. Please help.

thanks,

MEG
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello Meg,

Open the Manifest.xsf in a text editor and check for the rule set_26,
whether there are any validations on that. If you dont want the validations
to be checked, delete all the errors
To delete all of the errors in the Errors collection, use the DeleteAll
method:
JScript
XDocument.Errors.DeleteAll();
 
M

Meg

Thanks Kalyan, at least now I know what file, howver I have a bunch of
manifest.xsf files. I looked at the one that was dated 8/15/2007 but I never
found a "rule set_26" I found other numbers but not sure what to do. I
searched for the word error and this is a part of what I got:
_________________________________________
<xsf:customValidation>
<xsf:errorCondition
match="/dfs:myFields/dfs:dataFields/d:tbl_MeetingsActivity"
expressionContext="@Completed_Date" expression="msxsl:string-compare(.,
.../@DateBegin) < 0">
<xsf:errorMessage type="modal" shortMessage="Date must be the same or
later than Begin Date.">Ending Date must be the same day or a later
date!</xsf:errorMessage>
</xsf:errorCondition>
<xsf:errorCondition
match="/dfs:myFields/dfs:dataFields/d:tbl_MeetingsActivity/@Purpose"
expressionContext="." expression=". = """>
_______________________________________________

there were more lines.

When you said to use the DeletAllmethod -- Can you tell me where to do
that or can I just delete all the errors in the text editor???

I really don't want to start all over on this form, do you think I am going
to have to do that? Any help would be appreciated.

Thanks,

MEG
 

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