Microsoft KB Archive/870844

= You may receive a &quot;The form contains schema validation errors&quot; error message when you convert the main data source of a solution to a new schema in InfoPath 2007 or in InfoPath 2003 Service Pack 1 =

Article ID: 870844

Article Last Modified on 4/18/2007

-

APPLIES TO


 * Microsoft Office InfoPath 2007
 * Microsoft Office InfoPath 2003, Service Pack 1 (SP1)

-



SYMPTOMS
In Microsoft Office InfoPath 2007 and in Microsoft Office InfoPath 2003 Service Pack 1 (SP1), when you convert the main data source of a solution to a new schema, your form may not open. Additionally, you may receive the following error message:

InfoPath cannot open the following file: .xml.

The form contains schema validation errors.



CAUSE
This problem occurs because the Convert Main Data Source command makes changes to the XML schema of the form. The Convert Main Data Source command also turns off the Automatically upgrade existing forms option. This option is located on the Tools menu under Form Option.

The Convert Main Data Source command turns off the Automatically upgrade existing forms option because InfoPath cannot create an automatic map between the old schema and the new schema.



STATUS
This behavior is by design.

Additional query words: kbnoOfficeAlertID infopath2003 infopath2007 IP2007

Keywords: kbxml kbtshoot kbbug KB870844

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.