Solved

Infopath 2007 cannot open the following file...form28.xml  The form contains schema validation errors.

Posted on 2011-03-24
2
1,629 Views
Last Modified: 2012-05-11
I keep getting this error after i publish a form to an email person, and they open the email, they receive this error:
Infopath cannot open the following file: c:\documents and settings\user\local settings\temporary internet files\content.mso\filename.tmp\form28.xml. the form contains schema validation errors.

Any idea on what this is and whats causing it.
0
Comment
Question by:Brenda D
2 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 250 total points
ID: 35214758
The XML does not match the template.  WHen the file opens and the first step is to validate the data schema, an error occurs. You have deleted some fields from the datasource of the template that exist in the XML form from before.  So when it opens the file it has value that it doe snot know what to do with. Hopefully you have a backup of the template or can remember where they were and replace them exactly.

In these situations just remove the fields from you views but leave them in your data source schema to allow older forms to be compatible after changing the form.

0
 
LVL 3

Author Comment

by:Brenda D
ID: 35316728
Thank you. I was removing the fields from the data source. And no unfortunately i didn't keep the original. I learn from this mistake, but it seems to be ok now. Will keep watching it and check again. Is there another way to do this? Maybe publish as a new form, delete the old form, and then open the new form and republish to the old form name to clear the schema??
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now