SharePoint - Using Managed Paths and InfoPath Data Connections to a SharePoint
Asked By RichardHarbridg
03-Dec-08 08:57 AM

I have encountered an error in the way that InfoPath interprets data
connections to SharePoint when using managed paths.
If you use Managed Paths to make a path like this (explicit):
the InfoPath browser form accesses the data connection to a list in this site
collection (department) it tries to access it from the root site collection
of 'portal' which causes an error.
This results in the following WARNING message in the event viewer of the
SharePoint server.
The following query failed: Vertical Sectors (User: AD\Username, Form Name:
Account Profiles Form Library, IP: , Request:
http://portal/_layouts/FormServer.aspx?XsnLocation=http://portal/department/FormLibrary/Forms/template.xsn&SaveLocation=http://portal/department/FormLibrary&Source=http://portal/department/FormLibrary/Forms/AllItems.aspx&DefaultItemOpen=1,
Form ID:
urn:schemas-microsoft-com:office:infopath:FormLibrary:-myXSD-2008-11-18T16-38-05,
Type: DataAdapterException, Exception Message: The form cannot run the
specified query.
List does not exist
The page you selected contains a list that does not exist. It may have been
deleted by another user.)
I will see if I can determine a workaround, but this definitely seems like
something that should be brought to the InfoPath or SharePoint groups if my
assumptions are correct.
SharePoint
(1)
InfoPath
(1)
DefaultItemOpen
(1)
MyXSD
(1)
FormLibrary
(1)
Harbridge
(1)
Profiles
(1)
Paths
(1)
RichardHarbridg replied...

I was able to do a 'workaround' using XML and the owssvr.dll however this is
an extremely limited workaround comparatively speaking.
This is a potentially large issue and I really want to push for it's
resolution, so I am going to illustrate the steps needed to reproduce this
issue in InfoPath/SharePoint:
1. Create a SharePoint Managed Path that directly follows the root with
explicit inclusion. Name this a department name as an example (HR, Sales,
etc).
2. Create a site collection in that new path.
3. Enable all the features (enterprise etc).
4. Create a simple form in InfoPath (no need for fields). Add a data
connection to lookup the values of any SharePoint list in the new department
site collection.
Ensure this data connection is set to grab the data on form load (or you can
use the refresh button, whatever works for you.)
5. Publish the form to an infopath form library in SharePoint.
6. Open the form.
At this point you should notice a typical 5566 error message and the event
log on the Server will display an event like what I listed above.
At this point my assumption is that for whatever reason the infopath
SharePoint data connection has been designed without considering managed
paths and their impact. Remember the connection is under the same domain, so
it shouldn't be a cross domain issue which removes that complication. The
fact that the xml method worked fine also proves that the list exists, and
it's not a access/security issue.
This leaves only my previous assumption thus far.
Anyone's help, ideas, or advice would be greatly appreciated,
Richard

SESSION_STATE_PASCAL_CASED is not configured properly . . . SharePoint Hi, I have a MOSS 2007 server, with InfoPath services. When I submit a form I'm getting the following error in the even viewer: Event Type: Error Event Source: Office SharePoint Server Event Category: Forms Services Runtime Event ID: 5760 Date: 21 / 09 / 2007 Time: 10 07:45 a.m. User: N / A Computer: SERVER Description: InfoPath Forms Services has detected a mismatch between the user's data in the browser and SaveLocation = http: / / SERVER / sites / SITE / XX&Source = http: / / SERVER / sites / SITE / XX / Forms / AllItems.aspx&DefaultItemOpen = 1, Form ID: urn:schemas-microsoft-com:office:infopath:FORM:-myXSD-2007-04-16T03-27-42) For more information, see Help and Support Center at http: / / go.microsoft.com / fwlink / events.asp. Any idea? Thanks, Hugo. SharePoint Setup Discussions SharePoint (1) InfoPath (1) Office (1) MOSS 2007 (1) DefaultItemOpen (1) MyXSD (1) Cira (1) Reconvertallformtemplates
SPD - Collect Data from User SharePoint My SPD workflow runs against an Form Library (browser-enabled) in MOSS 2007. I use an email with a link to the form, which when clicked displays the form in InfoPath. I want the link to display the form in the browser only. Same problem when the user views the task - -the link connects to the form displayed in InfoPath, not browser. Can I somehow override this so that the form only appears in the browser client, whether or not user has InfoPath installed? Or can I somehow insert, into the task or "collect data" wizard, a workflow variable that contains a link to the form in browser (DefaultItemOpen = 0)? Thanks! Sharepoint Windows Services Discussions SharePoint (1) InfoPath (1) SPD (1) MOSS 2007 (1) DefaultItemOpen (1) OpenIn (1) By default, completed Form Library
At my wits end with InfoPath Form Service. . . SharePoint What I'm trying to do: Create an infopath form that fetches data from a database to populate a drop down control, grab the stuff it in to a control for that. The two things work bloody fantastic in InfoPath (with a warning about identity being used to determine information) before publishing it. Where's what I'm doing. . . Creating blank InfoPath form. Setting Data sources to: SQL database table Web service for user info I click the file to My Documents as Claims.xsn Next I click Publish Select To a SharePoint. . . . Next Location of SharePoint or InfoPath Forms Services: http: / / mysite Next Check Enable this form to be filled out by using
SharePoint / InfoPath SharePoint I have an InfoPath Form that i need to keep track of the usage of. I want to have it submit to a Sharepoint list so i can export the data to a Pivot Table when needing audited. Is an idea on what to do to achieve this? Thanks for your help in advance SharePoint Discussions SharePoint (1) InfoPath (1) SpottedOrange (1) Ivan (1) Screenshots (1) Iasanders (1) Matt provides a simple example with