Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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 name_of_business_logic_DLL is invalid.

↑ Back to the top


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.

↑ Back to the top


Resolution

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

↑ Back to the top


Keywords: KB930893, kbprb, kbtshoot, kberrmsg, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 930893
Revision : 2
Created on : 1/26/2007
Published on : 1/26/2007
Exists online : False
Views : 277