SharePoint Tip: Known Issue with InfoPath and Managed Paths
Posted on April 7th, 2009 in Uncategorized | No Comments »
We recently ran into a problem with InfoPath browser-based forms in a SharePoint farm that uses “explicit inclusion” managed paths. The InfoPath form uses several secondary data connections to pull data from SharePoint lists into the form to populate drop-down controls. The form seemed to work just fine in preview mode, but when we published it to the SharePoint site and opened it in a browser we would get a series of errors (code 5566) and the secondary data connections would fail. Further investigation showed other errors in the SharePoint logs, and after a couple of days of troubleshooting and Google searches we ended up escalating the issue to Microsoft Premier Support.
As it turns out this is a known problem and there is not currently a fix for it. The work-around is to use “wildcard inclusion” on any managed paths, and in our testing it appears to work as expected. When we publish the same form to a site using the wildcard path, the secondary data connections work just fine and the form functions as designed. We have encountered some other strange issues in the explicit-inclusion sites, such as SharePoint Designer data view webparts losing their connection to linked lists, and while I’m not sure if it’s related or not we don’t see those problems when we’re not in the explicit inclusion sites.
If you’ve encountered this same issue hopefully this blog post will save you a bit of time and a call to Microsoft. I haven’t received a link to a specific knowledge base article, but if I do I’ll update the post. Here are a few links to other user postings that might help:
http://technet.microsoft.com/en-us/library/cc288905.aspx (see comment at the bottom)
http://www.eggheadcafe.com/conversation.aspx?messageid=33610469&threadid=33610468
