p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Infopath (http://p2p.wrox.com/forumdisplay.php?f=189)
-   -   Can't open infopath form - errors in definition! (http://p2p.wrox.com/showthread.php?t=57033)

edove April 24th, 2007 04:43 AM

Can't open infopath form - errors in definition!
 I'm trying to optn a form in Design mode but I'm getting an error -

"Cannot open the following form..
The form definition (.xsf) contains errors."

If I click on Show Details I get:

"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

The form I am trying to open is one I copied on to my laptop from my PC so I can't open it for edit as it tells me "This form cannot be opened because it requires the domain permission level and it currently has restricted permission... " I normally open it in design and save it down locally so then it's ok.

Any ideas how I can open it?


JoeG September 15th, 2007 10:50 PM

Experienced the exact same error as originally posted. Any suggestions for resolving it? Appreciate any help.

samuncle007 January 16th, 2008 07:14 PM

Hi, I am having same problem with my InfoPath form. Did you get any solution to your problem? Any help will be appreciated.


kuznickic February 24th, 2009 02:11 AM

Open form and change xsf
I believe you can extract the forms files. I would extract them to the desktop and then open the xsf with notepad. I am not sure how much you know about what needs to be in xsf files or xml but I would caution to tread carefully. If you want you could post this file up here and I might be able to resolve the issue. But once you fix the xsf you would then repackage the files back to an xsn file.

Pria May 11th, 2009 06:22 AM

Hi Kuznickic,

Even I am facing the same error as mentioned above. I tried converting .xsn into .cab file, extracted it and modified the manifest.xsf file. But I could not get to know how to repackage the files back to the .xsn file?


kuznickic May 12th, 2009 07:47 PM

Repackaging file
I believe under File there is an option to repackage those files. I would place all of the files that you extracted and place them into the same folder. You should then be able to repackage it to an xsn that way.


Pria May 13th, 2009 01:39 AM

Repackaging file
Hi Chris,

Thanks much for your reply! [:)]

I used makecab.exe command and included all the files to be repackaged in the .txt file created and used below command:
makecab.exe /f <filename>.txt
So, the created .xsn file would includes all the files we placed in the above .txt file. [:)]


All times are GMT -4. The time now is 07:47 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.