Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2008

Tip: Looking for answers? Try searching our database.

Cannot open template - Help!!!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ALAS - 22 Feb 2008 07:57 GMT
After many hours working on a form a saved it without error, but when I
attempted to complete the design I received the following error:
The form definition (.xsf) file contains elements, attributes, or structures
that are not valid.
Error details:
The keyref 'Current_Goals_23' does not resolve to a key for the Identity
Constraint
'{http://schemas.microsoft.com/office/infopath/2003/solutionDefinition}xmlToEdit_n
ame_key
'.
Line 358, Position 5
 </xsf:view>
After reading a few posts on this issue I managed to open the cab file and
look at the manifest.xsf ;however, I found no reference to the keyref
'Current_Goals_23'.
What do I need to do to resolve this issue?
Greg Collins - 22 Feb 2008 20:52 GMT
Sounds like an XSL issue. I'm not aware of InfoPath making use of keys
(though they might behind the scenes).

Check your XSL files for any instance of "xsl:key" or "key("

Signature

Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com

Gavin McKay - 24 Feb 2008 23:20 GMT
Hello,

Just to be on the safe side I'd expand on what Greg says and just search for
any instance of 'Current_Goals_23' in all the files within the XSN file.  It
could be an issue with the myschema.xsd as well.  Identity issues might be a
schema-related issue.

Gavin.

> Sounds like an XSL issue. I'm not aware of InfoPath making use of keys
> (though they might behind the scenes).
>
> Check your XSL files for any instance of "xsl:key" or "key("
ALAS - 25 Feb 2008 14:19 GMT
Thanks! I found and removed the reference from the xsl files as well.
Unfortunately, the xsn and xsl files contained additional references to
previously deleted controls. I am not sure why the references remained in the
xsn and xsl files, but no longer appeared in the template. After removing all
bogus references, I was able to open the template and continue to work
without losing and data.

Thanks again!
Angela
Greg Collins - 26 Feb 2008 01:02 GMT
Every once in a while, you get random junk left over in your files. A prime
example is the unbound control entries in the manifest.xsf file that remain
after deleting buttons from your view. These don't harm anything, but it
would be nice if they were properly cleaned up.

Signature

Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.