Solved

SharePoint InfoPath 2010 cannot query External List.

Posted on 2011-03-19
4
1,325 Views
Last Modified: 2012-05-11
I have created an External content type and associated it with a list.  I have tried using different tables to verify that it isn't something with the SQL table and I still can't get past this issue.  I'm sure it's something trivial that I am doing wrong, but everytime I attempt to customize an External List infopath form and query for data I recieve the error below.  I have tried setting the EIR field which I'm assuming is the External Item Reference with no avail, as well as just querying the entire data connection with no settings..  It simply will not allow me to query for data.


The query method on the Document object failed.
InfoPath cannot run the specified query because of an application configuration error. The External Item Reference is missing. To fix this problem, contact the form designer or application administrator.


Thanks a bunch!
0
Comment
Question by:Dustin99352
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

Expert Comment

by:Ted Bouskill
ID: 35175985
What authentication method is used for the data connection and web site?

If you aren't using Kerberos and are using Windows Authentication it might be a problem wherein you can use the data connection on the web page but not in InfoPath because windows credentials cannot be relayed.

Of the top of my head I can't think of any other reason unless you somehow have set the permissions for the data connection to tightly restrict it's usage.
0
 
LVL 6

Author Comment

by:Dustin99352
ID: 35176827
I am using Kerberos.  I have validated that I can view the list, filter it, and add/remove items.  I'm sure it's something I've messed up in creating the BCS connection or something like that, but I just can't figure out what.  Please let me know if there is anything else I should try.  Thanks a bunch!
0
 
LVL 51

Expert Comment

by:Ted Bouskill
ID: 35177694
I haven't used the new BCS connections in 2010 yet (I'm just transitioning from 2007) so I haven't had to configure any yet but as it happens I might be next week.  Did you recheck all the settings for the BCS?
0
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 35185637
I think you are trying to use the default data connection of the form that does not support the query method. The form by default is only setup to update or insert one item on the list.
You can setup a second recieve data connection to the same list if you want a way to query and display the list in your form.

Hope that helps.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question