Tuesday, August 26, 2014

How to resolve the error "The operation could not be completed" in InfoPath 2010.

How to resolve the error "The operation could not be completed" when trying to create a new connection to access the SharePoint site in InfoPath 2010.

Error:

I tried to use the SharePoint List form template to access the SharePoint list (to customize the SharePoint list form) in InfoPath. In the Data Connection Wizard I entered the site collection URL (http://serverName:2020/sites/SubSite) and then clicked on the "Next" button you will get the below error.

Infopath2.jpg

Reason:

When you try to access the SharePoint site, ensure that there is a root site in the web application. For example I tried to access the site collectionhttp://serverName:2020/sites/SubSite. Ensure the root site 
http://serverName:2020 is available in the web application.

Resolution
  1. Open Central Administration.
  2. Click on Application Management.
  3. Click on View all site collections and select the web application from the drop down check whether the root site collection is available http://serverName:8080.
  4. If the root site is not available then click on Application Management and then click on Create site collection that is available under Site Collections.
  5. Create the root site and then try to create a new connection in the InfoPath form; you will be able to create it successfully.

No comments:

Post a Comment