Cannot open file in Design view - InfoPath Dev
in

InfoPath Dev

Cannot open file in Design view

Last post 10-20-2014 04:39 PM by Hilary Stoupa. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 10-15-2014 08:17 PM

    Cannot open file in Design view

    Hi All

     I have searched and found previous posts around this issue but although they help me to an extent it still doesnt overcome my issue.

     The error i am getting is:

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

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

    Line 737, Position 5
      </xsf:view>

    I have tried removing the WCAMonWedFri... reference in the manifest but still no luck. I have attached the manifext for reference. Any assistance woudl be appreciated.

     thanks

  • 10-16-2014 06:00 PM In reply to

    Re: Cannot open file in Design view

    Hi - I still see this in the manifest - lines 727, 732, 734. Try deleting those lines.

    Hilary Stoupa

  • 10-19-2014 04:18 PM In reply to

    Re: Cannot open file in Design view

    Hilary Stoupa:

    Hi - I still see this in the manifest - lines 727, 732, 734. Try deleting those lines.

    Hi, this may sound stupid but i dont know how to identify those lines in the manifest, is their a trick to finding line numbers?

     thanks

  • 10-20-2014 07:38 AM In reply to

    Re: Cannot open file in Design view

    Oh - not stupid at all, I just opened it in a text editor that displays line numbers (Notepad ++). You should be able to search for WCAMonWedFriDeliverables_243 with any text editor and find the lines that need to be removed, however.

    Hilary Stoupa

  • 10-20-2014 03:14 PM In reply to

    Re: Cannot open file in Design view

    Thanks for your help on this, so i have removed all lines referencing 'WCAMonWedFriDeliverables_243'

    Then it said the same error but for 'WCAMonWedFriDeliverables_246', so i removed these too but now its coming up with a new error which looks a little more serious, im now getting "The following file is referenced in the .xsf file but is not part of the form: myschema.xsd"I have attached the amended manifest for reference. Any further help would be appreciated.thanksAlso not sure if i am opening from the edited manifest correctly. once edited i am saving in notepad as a .xsf file in a normal directory and then clicking design straight from there, i have seen some people say to add back into the .cab file but im not sure how to do this.
  • 10-20-2014 03:23 PM In reply to

    Re: Cannot open file in Design view

    hi again

    so i just extracted all files into a new folder and added in the edited manifest and it opens it design!

    I can work with this, thanks!

  • 10-20-2014 04:39 PM In reply to

    Re: Cannot open file in Design view

    Hey, excellent news - Yes, the manifest needs to be in the folder with all the other form files to open in design mode, as you figured out yourself. :)

    Hilary Stoupa

Page 1 of 1 (7 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.