Unable to open Infopath .xsn - form definition (.xsf) file contains errors. - InfoPath Dev
in

InfoPath Dev

Unable to open Infopath .xsn - form definition (.xsf) file contains errors.

Last post 04-01-2018 11:36 PM by tmabahra. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 02-18-2013 05:07 AM

    Unable to open Infopath .xsn - form definition (.xsf) file contains errors.

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

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

    Line 2265, Position 5
      </xsf:view>
    ----^

     

  • 02-18-2013 05:14 PM In reply to

    Re: Unable to open Infopath .xsn - form definition (.xsf) file contains errors.

    Sounds like your XSF got corrupted. What do you want us to do? Fix it for free?

    What did you do to get it into this state? Did you make sure to make a backup?

    Happy to help, but this is a specific support issue. If it was a general how-to question, we'd reply here, but for specific support, please purchase a support pack from our Qdabra dot com web site (click Consulting and then Support and then Support Pack).

    Thanks!

    Patrick Halstead
    Project Manager at Qdabra
  • 02-19-2013 07:07 AM In reply to

    Re: Unable to open Infopath .xsn - form definition (.xsf) file contains errors.

    Your form template is a group of files, all packed up in the XSN. If you change the file extension to CAB, you can open the CAB and see all the files. From there, you can copy the files out into a new folder. Open manifest.xsf in a text editor, like Notepad, and search for group49_143. Then you can delete any lines that refer to it. Save and close, then right click manifest.xsf and select Design. If all has gone well, it will open in design mode, and you can go to File / Save As to pack it back up.

    Hilary Stoupa

  • 01-03-2014 01:51 PM In reply to

    Re: Unable to open Infopath .xsn - form definition (.xsf) file contains errors.

    Thanks so much, Hilary! Slightly different keyref info, but the same problem -- and your solution worked perfectly for me.

  • 05-19-2014 12:53 AM In reply to

    Re: Unable to open Infopath .xsn - form definition (.xsf) file contains errors.

    Thanks alot for support ! Suddenly found this problem and with your solution and a little more works this problem solved ! because of missing file error, in addition to above task, i extract .cab file and put .xsn file inside of extracted directory , and open it with design mode and save it to mysite.
  • 04-01-2018 11:36 PM In reply to

    Re: Unable to open Infopath .xsn - form definition (.xsf) file contains errors.

    Super thank you I'm using Winshuttle Designer which integrates with InfoPath for form desinging for some reason it got corrupt and your solution helped I really can't thank you more :)
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.