Microsoft KB Archive/930893

= Error message when you try to open an InfoPath 2007 form template: &quot;InfoPath cannot open the selected form because of an error in the form's code&quot; =

Article ID: 930893

Article Last Modified on 1/26/2007

-

APPLIES TO


 * Microsoft Office InfoPath 2007

-



SYMPTOMS
When you try to open a Microsoft Office InfoPath 2007 form template, you may receive the following error message:

InfoPath cannot open the selected form because of an error in the form's code.

The format of the  is invalid.



CAUSE
This issue occurs if the following conditions are true:
 * You create an InfoPath 2007 form template by using the InfoPath 2003 Compatible Code option.
 * You try to open the form template on a computer that does not have the Microsoft .NET Framework 2.0 installed.



RESOLUTION
To resolve this issue, install the .NET Framework 2.0 on the computer.

Additional query words: IP2007 InfoPath2007

Keywords: kbexpertiseinter kberrmsg kbtshoot kbprb KB930893

-

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

© Microsoft Corporation. All rights reserved.