Solved

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

Posted on 2011-03-24
2
1,651 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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