Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Infopath
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Infopath Programming and automation discussions only please. :)
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Infopath section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 24th, 2007, 04:43 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
</xsf:view>
----^"

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?

Thanks
Reply With Quote
  #2 (permalink)  
Old September 15th, 2007, 10:50 PM
Registered User
 
Join Date: Sep 2007
Location: South Berwick, ME, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Reply With Quote
  #3 (permalink)  
Old January 16th, 2008, 06:14 PM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Thanks


Reply With Quote
  #4 (permalink)  
Old February 24th, 2009, 01:11 AM
Authorized User
Points: 216, Level: 4
Points: 216, Level: 4 Points: 216, Level: 4 Points: 216, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2005
Location: Honoulu, HI, USA.
Posts: 47
Thanks: 2
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #5 (permalink)  
Old May 11th, 2009, 06:22 AM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?

Thanks!
~Pria
Reply With Quote
  #6 (permalink)  
Old May 12th, 2009, 07:47 PM
Authorized User
Points: 216, Level: 4
Points: 216, Level: 4 Points: 216, Level: 4 Points: 216, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2005
Location: Honoulu, HI, USA.
Posts: 47
Thanks: 2
Thanked 0 Times in 0 Posts
Default 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.

Chris
Reply With Quote
  #7 (permalink)  
Old May 13th, 2009, 01:39 AM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Thanks!
~Pria
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Infopath Fully trusted Form does not open on Netwo MeghaP VB.NET 0 January 2nd, 2008 07:14 AM



All times are GMT -4. The time now is 11:50 AM.


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