Error opening form in design mode

J

J Tomko

I was working (for several hours) yesterday on a form containing multiple
views. When I try to re-open the file I get this error:

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

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

Line 611, Position 3
</xsf:xDocumentClass>

Any suggestions for how to fix this file so I can open it and get my work
back would be greatly appreciated. Thanks. (running XP Pro, have created
hundreds of InfoPath forms on this machine)
 
H

Henning Krause [MVP - Exhange]

Hello,

you can extract the files from the xsn. The xsn is nothing more than a .cab
file. If you rename it to .cab you can extract the files with PowerArchiver
or Winzip or a similar program.

Then, examine the .xsf file at that position, if there is anything wrong...

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)
 
J

J Tomko

Thank you very much - I was able to fix it after reading your post.

Henning Krause said:
Hello,

you can extract the files from the xsn. The xsn is nothing more than a .cab
file. If you rename it to .cab you can extract the files with PowerArchiver
or Winzip or a similar program.

Then, examine the .xsf file at that position, if there is anything wrong...

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


J Tomko said:
I was working (for several hours) yesterday on a form containing multiple
views. When I try to re-open the file I get this error:

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

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

Line 611, Position 3
</xsf:xDocumentClass>

Any suggestions for how to fix this file so I can open it and get my work
back would be greatly appreciated. Thanks. (running XP Pro, have created
hundreds of InfoPath forms on this machine)
 
C

CycleFitness

I have followed the instructions in this email, but can't figure out how to
repackage the CAB so the modified XSF becomes part of the template.xsn.

When I try to add a file back to the CAB, Winzip chokes on it.

Thanks for any help.
Deb

Henning Krause said:
Hello,

you can extract the files from the xsn. The xsn is nothing more than a .cab
file. If you rename it to .cab you can extract the files with PowerArchiver
or Winzip or a similar program.

Then, examine the .xsf file at that position, if there is anything wrong...

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


J Tomko said:
I was working (for several hours) yesterday on a form containing multiple
views. When I try to re-open the file I get this error:

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

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

Line 611, Position 3
</xsf:xDocumentClass>

Any suggestions for how to fix this file so I can open it and get my work
back would be greatly appreciated. Thanks. (running XP Pro, have created
hundreds of InfoPath forms on this machine)
 
O

Old Mike

CycleFitness said:
I have followed the instructions in this email, but can't figure out how to
repackage the CAB so the modified XSF becomes part of the template.xsn.

When I try to add a file back to the CAB, Winzip chokes on it.

Thanks for any help.
Deb

Henning Krause said:
Hello,

you can extract the files from the xsn. The xsn is nothing more than a .cab
file. If you rename it to .cab you can extract the files with PowerArchiver
or Winzip or a similar program.

Then, examine the .xsf file at that position, if there is anything wrong...

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


J Tomko said:
I was working (for several hours) yesterday on a form containing multiple
views. When I try to re-open the file I get this error:

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

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

Line 611, Position 3
</xsf:xDocumentClass>

Any suggestions for how to fix this file so I can open it and get my work
back would be greatly appreciated. Thanks. (running XP Pro, have created
hundreds of InfoPath forms on this machine)
 
O

Old Mike

Hi Deb:

I am having the same problem and would like to know what you learned. I
couldn't locate the response you may have received.

RE: creating a .cab from the unzipped content.

Thanks
Mike

CycleFitness said:
I have followed the instructions in this email, but can't figure out how to
repackage the CAB so the modified XSF becomes part of the template.xsn.

When I try to add a file back to the CAB, Winzip chokes on it.

Thanks for any help.
Deb

Henning Krause said:
Hello,

you can extract the files from the xsn. The xsn is nothing more than a .cab
file. If you rename it to .cab you can extract the files with PowerArchiver
or Winzip or a similar program.

Then, examine the .xsf file at that position, if there is anything wrong...

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


J Tomko said:
I was working (for several hours) yesterday on a form containing multiple
views. When I try to re-open the file I get this error:

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

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

Line 611, Position 3
</xsf:xDocumentClass>

Any suggestions for how to fix this file so I can open it and get my work
back would be greatly appreciated. Thanks. (running XP Pro, have created
hundreds of InfoPath forms on this machine)
 
Top