« Silverlight + SharePoint 2010 - package XAP file in a sandbox WSP Solution | Main | SharePoint: automatically sign in with my Windows User Account in IE and FireFox »
Monday
Jan172011

InfoPath - external data from SharePoint List error

I had this error "The operation could not be completed" when trying to connect to a SharePoint List as an external data connection in InfoPath today.

Show Details just says "Unable to connect to the SharePoint site."

image

Figure: The message box really doesn't tell you anything.

Turned out, I was testing with a new managed path on http://server/sites/TravelFunds/  But the web application did not have a site at the root path.  So the quick fix was to create a new team site (blank site might work too) at the root path http://server/ and then come back to InfoPath, and http://server/sites/TravelFunds/ will now work as expected.

 

This was one of many posts that I read regarding similar problems, and the one that actually applied to me.  http://vspug.com/ssa/2010/03/15/infopath-2010-cannot-connect-to-sharepoint-2010/

Reader Comments (3)

Thanks a lot, these was the solution for me.

I add a new site collection (Team) at the top and works.

Regards.

November 9, 2011 | Unregistered CommenterJerry Garcia

Hi,

I am having this issue now, but the linke provided is dead. Can some one help me with this.

Thanks

February 21, 2012 | Unregistered Commenterabout2flip

The fix is to create a blank site at the root level of your site collection. This happens when you are using managed paths,

http://server/sites/myweb/

without having a site at the root level:

http://server/

February 22, 2012 | Registered CommenterJohnLiu.NET

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>