Monday, January 21, 2013

Error in infopath - The form cannot be loaded because infopath .net programmability support could not be installed automatically


Microsoft InfoPath error "The form cannot be loaded because infopath .net programmability support could not be installed automatically

This error means you probably don't have the required component installed for infopath. You don't have to reinstall office to fix this.

- Open Control Panel
- Goto Programs
- Locate Office 2010
- Right click goto 'change'
- Choose Add or Remove Features, click 'Continue'.
- Open the Feature for 'Microsoft Infopath'
- Right click .NET Programmability Support, Choose run from computer.
- Continue , Wait for finish.
Done.

You can also fix this using and XML file which can come in handy for an SCCM deployment.

Create an XML with the following

Configuration Product="ProPlus">
Level="basic"
CompletionNotice="no"
SuppressModal="yes"
AcceptEula="yes"
NoCancel = "yes"
/>
Id="XDOCSFiles"
State="local"
/>
Id="XDocs_PIA"
State="local"
/> Id="XDOCSHelpFiles"
State="local"
/> Id="GrooveFiles"
State="Absent"
/>
Id="SETUP_REBOOT"
Value="Never"
Children="force"

Save as Infopath.xml and save it in the Office\Config folder (where you source files are).

Then to call it, use:

setup.exe /config .\config\Infopath.xml

Notes:
an XML file can also be used to uninstall a office component

If you find this article useful please leave me a comment or click on an ad to show your support.

7 comments :

  1. Useful! This resolved my problem.

    ReplyDelete
  2. Bub, you are a life-saver. This is the only fix I found for this issue.

    ReplyDelete
  3. No Problems, glad to help.

    ReplyDelete
  4. Do you have a downloadable version of the XML file?

    ReplyDelete
  5. You can simply copy and past the above into notepad and save it as an XML file..

    ReplyDelete
  6. The xml formatting is off (and there are missing opening and closing tags). Could you please put up an image of the xml (it'd be easy to replicate then)? Thanks.

    ReplyDelete
  7. You might need to replace the quotation marks in notepad (use find and replace)

    ReplyDelete