error when trying to open a form in design mode.

R

random

I just finished putting the last hour into a 3-week long project into
building a change request form via Infopath / Sharepoint.

I went to save my final changes and Im now getting the following error when
trying to open the form again:

"The form definition (.xsf) file contains elements, attributes, or
structures that are not valid.

Error details:
The keyref 'ruleSet_7' does not resolve to a key for the Identity Constraint
'{http://schemas.microsoft.com/office/infopath/2003/solutionDefinition}ruleset_name_key'.

Line 1382, Position 3
</xsf:xDocumentClass>
--^"

I have absolutely no clue how to even begin troubleshooting this when I
can't open the form at all. Any help is greatly appreciate as Im scared that
I've lost all the changes i've made to this form.
 
R

random

nevermind. I fixed the issue:

1. I used winrar to open up the .xsn file and put all the individual files
into a folder

2. i used textpad v4.0 to open up the manifest.xsf file

3. i looked for "ruleset_7" and found what appeared to be a button control
that had no rules or expressions for it. I guess for some reason InfoPath
just didn't like this and kept generating the error. must have been a
leftover control that I originally placed into the form and then didn't end
up using the object, but for some reason the datasource stayed in the form??

4. I removed the entire set of code for the "ruleset_7"

5. i opened up the manifest.xsf in InfoPath and I was able to open the form
again, and resave it to re-package it back into an .xsn

whew!!!!!!
 

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