Solved

SharePoint InfoPath 2010 cannot query External List.

Posted on 2011-03-19
4
1,331 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

729 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