Solved

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

Posted on 2011-03-24
2
1,672 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

717 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