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 / August 2007

Tip: Looking for answers? Try searching our database.

InfoPath cannot open the following form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Meg - 15 Aug 2007 21:04 GMT
I have a form that I am creating in InfoPath 2003, SP2....(I am connected to
an Access Database) I am just about through with it and it was working fine,
however I have been publishing it to one location and then testing  and
making changes again and again to perfect it and then publishing it.

Problem:  When I published it this last time, and then tried to open it I
got the following error message:

InfoPath cannot open the following form: (form location) the form definition
(.xsf) file contains errors.

When I click on Show Details it gives me the following:  The form definition
(.xsf) file contains elements, attributes, or structures that are not valid.  
Error details:  The keyref 'ruleSet_26' does not resolve to a key for the
Identity Constraint

How can I get to this form?  I am desparate, I do not want to start from
scratch.  Please help.

thanks,

MEG
Kalyan G Reddy MVP (GGK Tech) - 17 Aug 2007 01:48 GMT
Hello Meg,

Open the Manifest.xsf in a text editor and check for the rule set_26,
whether there are any validations on that. If you dont want the validations
to be checked, delete all the errors
To delete all of the errors in the Errors collection, use the DeleteAll
method:
JScript
XDocument.Errors.DeleteAll();

Signature

Kalyan G Reddy - INFOPATH MVP 2007
http://www.ggktech.com

> I have a form that I am creating in InfoPath 2003, SP2....(I am connected to
> an Access Database) I am just about through with it and it was working fine,
[quoted text clipped - 18 lines]
>
> MEG
Meg - 17 Aug 2007 02:03 GMT
Thanks Kalyan, at least now I know what file, howver I have a bunch of
manifest.xsf files.  I looked at the one that was dated 8/15/2007 but I never
found a "rule set_26"  I found other numbers but not sure what to do.  I
searched for the word error and this is a part of what I got:
_________________________________________
<xsf:customValidation>
        <xsf:errorCondition
match="/dfs:myFields/dfs:dataFields/d:tbl_MeetingsActivity"
expressionContext="@Completed_Date" expression="msxsl:string-compare(.,
../@DateBegin) < 0">
            <xsf:errorMessage type="modal" shortMessage="Date must be the same or
later than Begin Date.">Ending Date must be the same day or a later
date!</xsf:errorMessage>
        </xsf:errorCondition>
        <xsf:errorCondition
match="/dfs:myFields/dfs:dataFields/d:tbl_MeetingsActivity/@Purpose"
expressionContext="." expression=". = """>
_______________________________________________

there were more lines.

When you said to use the DeletAllmethod  --  Can you tell me where to do
that or can I just delete all the errors in the text editor???  

I really don't want to start all over on this form, do you think I am going
to have to do that?  Any help would be appreciated.

Thanks,

MEG

> Hello Meg,
>
[quoted text clipped - 29 lines]
> >
> > MEG
 
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.