I don't know how it happened. I had a form I was designing on my PC at home. I copied the file onto my laptop. When I got to the office, right-click to Design I get a message saying
Cannot open infopath form because the form definition file contains errors. If I open up the dialog I see the following detail:
The form definition (.xsf) file contains elements, attributes, or structures that are not valid.
Error details:
The keyref 'financialsRT_918' does not resolve to a key for the Identity Constraint '{http://schemas.microsoft.com/office/infopath/2003/solutionDefinition}xmlToEdit_name_key'.
Line 2863, Position 5
</xsf:view>
----^
I checked the file at home and that is the same. It was fine and now it's now. I can open it by double clicking but I need it as a template to finish designing it.
Any ideas?