InfoPath Form Web Part page stops responding when you try to use a control on the Web Part on a page of a SharePoint 2010-hosted Web site

Article translations Article translations
Article ID: 982246 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Some controls do not work in a Microsoft InfoPath 2010 form that is hosted in the InfoPath Form Web Part on a Wiki page or the default home page of a Web site that is hosted on a Microsoft SharePoint Server 2010 server. Therefore, you cannot interact with the page. For example, you add a File Attachment control to the InfoPath Form Web Part. Then, you click the control, and you select a file to attach to the Web Part. When you click Attach, the control stops responding. Additionally, the Attach and Cancel buttons become unavailable.

CAUSE

This problem occurs because the SharePoint site used the Microsoft Office SharePoint Server 2007 user interface when the Web Part was inserted into the affected Web page.

WORKAROUND

To work around this problem, use one of the following methods.

Method 1: Edit the page in SharePoint Designer

To work around this problem by using SharePoint Designer, follow these steps:
  1. Start Microsoft SharePoint Designer 2010.
  2. Click File, click Open Site, select the SharePoint site, and then click Open.
  3. Click Site Pages in the navigation pane, and then click the page that is hosting the InfoPath Form Web Part.
  4. On the Page tab, click Edit File.
  5. On the status bar, click Split to see both the design view and the code view.
  6. In the design view, select the InfoPath Form Web Part. The HTML code should also be selected in the code view.
  7. Select the HTML that is selected in the code view, click the Home tab, and then click Cut.
  8. Put the cursor at the end of the <SharePoint:EmbeddedFormField> tag, within the tag.
  9. Click Paste.
  10. Save the page.

Method 2: Use a Web Part page

To work around this issue by using a Web Part page to host the InfoPath Form Web Part, follow these steps:
  1. On the SharePoint site, click Site Actions, and then click Create.
  2. On the Create page, under the Web Page section, click Web Part Page.
  3. In the Name field, specify a name for the page.
  4. Click to select the Overwrite if file already exists check box if you want to overwrite the affected page that you created earlier.
  5. In the Layout section, select a layout for the Web Part page from the Choose a Layout Template list.
  6. In the Save Location section, select a library on the Document Library list. This is the library in which you want to save the page.
  7. Click Create.
  8. Add the InfoPath Form Web Part to the page.
  9. Add any other Web parts that you want to have on the same page.
  10. Click Exit Edit Mode.

Method 3: Switch to Ribbon UI

Before you try to insert the InfoPath Form Web Part into the Web page, switch to the new Ribbon UI on your Web site. To do this, follow these steps:
  1. On the Site Settings page of the SharePoint site, click Activate next to Preview the updated user interface.
  2. Add the InfoPath Form Web Part to the page.
Note To return to the Office SharePoint Server 2007 user interface, click Activate on the Site Setting page next to Use the previous user interface.

For more information about how to manage the visual upgrade to SharePoint 2010, see the following TechNet article:
Manage visual upgrade (SharePoint Server 2010)

Properties

Article ID: 982246 - Last Review: September 22, 2011 - Revision: 5.0
APPLIES TO
  • Microsoft SharePoint Server 2010
  • Microsoft Infopath 2010
Keywords: 
kbforms kbtshoot kbexpertiseinter kbsurveynew kbprb KB982246

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com