.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Unable to connect to a list in InfoPath 2010

Posted By:      Posted Date: October 22, 2010    Points: 0   Category :SharePoint


       I want to create a dataconnection in infopath 2010 and connect to a share point list,

I clicked DataConnection->Add->Retrievedata->sharepoint list-> and after that even though I am entering the name of the sharepoint site it is not proceeding further and showing error "Operation Could Not be Completed"

View Complete Post

More Related Resource Links

Unable to connect any list or calendar to Outlook in SP 2010


I am completely unable to use the Connect to Outlook option on any list inside my SharePoint Foundation installation - the button is present, but remains greyed out and non-functional.

I have confirmed the following:

- The server is using AD and is set up correctly

- SMTP is set up for outgoing mail

- All features available have been activated

- There are no restrictions for the creation of local pst files on my system

- I am running Outlook 2010, 64bit

- The user being used is in an owners group for the site collection and the site, but I've also added direct permissions for the user for all possible permission sets

- I am able to use the Excel services, Visio and Project connections, but not Outlook

- I am using a standard, unaltered task list and calendar, neither of which will permit connection

- I am using IE8

Since the button is greyed out, I'm not even able to get an error message that might tell me something additional.


I've been searching for a while, to no avail - what am I missing?





InfoPath 2010 cannot connect to SharePoint 2010

You have installed Office 2010 beta and you are trying to connect to SharePoint 2010 from InfoPath but you get an error

Unable to connect a web service from SharePoint 2010

Hi, I have a requirement to connect to a webservice from SharePoint 2010 without passing Network credentials explicitly. If i am already logged into the SharePoint 2010 portal , I should be able to click on Search (which is a web service which retrieves search results from Oracle UCM) and retrieve the result. I tried localhost.ServiceX myProxy = new localhost.ServiceX(); myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials; also myProxy.UseDefaultCredentials = True Still i am unable to authenticate. Default credentials returns null value.   Kindly help.

Infopath Form Data submitting to Sharepoint 2010 List

Making a Client intake form that once submitted will send data to  a sharepoint 2010 List called contacts. Short Summary the form will have repeating fields and alot of information to submit. I have looked and read all over but I cannot find an easy step by step guild on how to submit the form data like that. Long Summary on the sharepoint site a button will open a form for adding a new client.  once the form has been filled out and the user hits submit sharepoint will then create a User File, in clients file, and take the data and put it into contacts list. I am trying to make use of Sharepoint as I would with access, meaning the more information I have on a client the easier it will be to mail merge letters, motions, basicly any file prepaired stuff. So once I have css designed forsharepoint to make it look the way I want then the forms should intergrate perfect

Reg Upgrading List of MOSS 2007 to InfoPath 2010

Hi, Actually right now there is Newform.aspx of the list in MOSS 2007 through which we are collecting the data from the user.Now our customer is planning to migrate the application to SharePoint 2010 so i just want to know so that can we get a easy support to implement in InfoPath 2010 compared to the list of MOSS 2007 Thanks & Regards, Sudheer

Infopath 2010 cannot connect to Rest web service

Hi all, I recently tried to access an Excel spreadsheet range as a Rest web service in Infopath 2010; no luck.  Here are the steps I followed: 1. [Successful] Upload Excel spreadsheet with the said ranges onto a Sharepoint document library 2. [Successful] Bind the Excel spreadsheet range (I have one called Regions) in the Sharepoint document library as a Rest web service in Infopath form's listbox control during design time as follows - http://mosscrm/sites/sandbox/_vti_bin/excelrest.aspx/eventbudgets/lookups.xlsx/model/ranges('Regions')?$format=atom 3. [Failed] Then I tried to preview the form, but the actual data in the Excel range failed to populate the Infopath listbox control.  The error I got was: "Could not open "http://<localhost>/sites/<site name>/_vti_bin/ExcelRest.aspx/EventBudgets/Lookups.xlsx/Model/Ranges('EventTypes')?$format=atom"   The error I then got from Infopath was a pop-up saying: The query cannot be run for the following DataObject: Event Types InfoPath cannot run the specified query. The file is not a valid XML file. Not enough storage is available to process this command . If anyone out there has experienced a similar issue and resolved it, please kindly share your solution approach. Thanks.

PowerPivot Report is unable to connect database after uploading onto SharePoint 2010


Hi All,

I have developed one PowerPivot Report in excel 2010 and uploaded into SharePoint 2010. The report has slicers and filters which are working pretty well in excel 2010.

I'm able to open the report through sharepoint browser and  if click on any slicer getting the following error.

An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:

Also i'm unable to see the filter on the report.

I have got some info on google regarding 'Claims to windows token service' should up and run. But, i'm still getting the same after enabling 'Claims to windows token service' as well.

Please help me in this regard.

Thanks & Regards,


Infopath 2010 Beta Sharepoint List

This is a followup question from: http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/452ad036-cad7-4439-a119-2b956db2fd9f
Earlier, I had issues with Forms Services not appearing in Sharepoint, which was resolved with a reinstall of Sharepoint with Enterprise Feartures.

Now I am trying to create a Sharepoint List form from Infopath 2010 Beta. When I try to browse the Sharepoint site url, I get the following error message:
"This feature requires InfoPath Form Services 2010 or greater on the Sharepoint site." InfoPath Designer 2010 Beta error message

InfoPath Form Services 2010 is certainly enabled on the site as the following screenshot shows:
InfoPath Forms Services 2010 ** Update ** Tried to create a custom InfoPath form and got this message
This form template is browser-compatible, but it cannot be browser enabled on selected site. This may be caused by one of the following reasons:
- The server is not running InfoPath Form Services
- The necessary

Using Infopath 2010 to customize a SharePoint 2010 list with columns using Managed Metadata


Hello All-

I would like to customize the "new" form on a SharePoint list that has some columns that use managed metadata term sets as options.  Unfortunately, when I do so, I get the message:

"InfoPath cannot generate a form template for the SharePoint list."

The following fields in the SHarePoint list are not supported because of their data type and will not be available in InfoPath Designer:

-MyColumnName (TaxonomyFieldTypeMulti)

This error message seems to be pretty self explanatory, but it boggles my mind that this would be the case.  Can I really not customize my list "new" form in Infopath if I am using columns with managed metadata?  Any workarounds?

Sharepoint 2010 List from Excel Spreadsheet to Display as Options in Infopath 2010


I have an Infopath 2010 form where I want the users to be able to display the cost of something based on the results of the data in an excel spreadsheet.

This spreadsheet does not have to stay a spreadsheet, I can import it into a List if that will make this work. So the spreadsheet has types of appraisals along the "X" axis and then individual States along the "Y" axis.

So if I am filling out the form - I want a "residential" appraisal and it is going to be in "California" - that should return the cost.

Any help woudl be appreciated. I am not sure exactly where to start.

How to connect to a SharePoint List using SSRS 2010 R2?


On MSDN it states that you simply need to add the SharePoint List URL to the data source.  There are no exapmle to be found anywhere so I can't see what I"m doing wrong.

My Data Source looks like this: http://servername/Lists/SharePoint.DateModelProvision-Li/AllItems.aspx

Reporting Services is set up in Native Mode.

When I try and create a data set I get a 404 Not Found error.

Thanks for any help

Submitting data from Infopath 2010 to a Sharepoint 2010 list fail


Hello everybody,

I'm trying to submit data from an Infopath 2010 form to a Sharepoint list using the following tutorial: http://msdn.microsoft.com/en-us/library/cc162745(office.12).aspx 

However this doesn't work. The form creates new entries but when you whant to change or delete an entry, I get the following error: Object reference not set to an instance to an object. Any idea what is wrong with the code?

using Microsoft.Office.InfoPath;
using System;
using System.Windows.Forms;
using System.Xml;
using System.Xml.XPath;
using mshtml;

namespace Sharepointupdate
  public partial class FormCode
    // Membervariablen werden in browserfähigen Formularen nicht unterstützt.
    // Schreiben und lesen Sie diese Werte stattdessen aus dem FormState-
    // Wörterbuch, indem Sie Code wie folgt verwenden:
    // private object _memberVariable
    // {
    //   get
    //   {
    //     return FormState["_memberVariable"];
    //   }
    //   set
    //   {
    //     FormState["_memberVariable"] = value;
    //   }
    // }

    // HINWEIS: Das folgende Verfahren ist für Microsoft InfoPath erforderlich.
    // Es kann 

Customizing SharePoint List Forms in InfoPath 2010

Learn how to customize the forms for viewing and editing items in a SharePoint list with the InfoPath Designer, and then take the forms offline using SharePoint Workspace.

Sample: Customizing SharePoint List Forms in InfoPath 2010

Explore the code sample as you learn to customize the forms for viewing and editing items in a SharePoint list with the InfoPath Designer, and then take the forms offline using SharePoint Workspace.

Updating sharepoint 2010 list using infopath 2010


i have a InfoPath form that is updating a SharePoint list when it is submitted. Now i added some extra Fields to the Sharepoint List. All these new Fields are empty till I open the InfoPath form and hit the submit buttion again.  For eample:
I have created a quarterly vacation form with a user name and employee number.  Also I have 3 months listed by work day ( Employee name, Employee Number, 1-1,1-2,1-3...(january 1st, 2nd, 3rd...)
The employee opens the form and searches for their employee number.  The first time the form appears with their name and number with all the months NOT checked.  I tested that I am on the right record by manually updating the record then running the form to get the necessary information by employee number.  It fills out the for correctly.  But it is when I want to change that information and place the changes back that I am having a issue with.
If InfoPath can't handle this would Visual Studio be able to do this? 
I am using InfoPath 2010, Sharepoint 2010, Exchange 2010

Connect to Outlook not working for an External List in 64-bit Office 2010


I've used Business Connectivity Services in SharePoint 2010 to create an External Content Type with Office Item Type 'Contact'. I then created an External List in a SharePoint site to display the items in the External Content Type (after granting permissions on the ECT). When I click 'Connect to Outlook', a VSTO is created and installed. It says, the install is succesful. However, I do not see the contacts in my External List in Outlook. This is a 64-bit version of Outlook 2010. When I click 'Connect to Outlook' again, I get an error: "Cannot install or update this external list on client machine because another update is already in progress".

From another client machine where I installed the 32-bit version of Office 2010, this functionality works great. It seems the VSTO SharePoint BCS creates when you click 'Connecto to Outlook' on an external list, is not compatible with 64-bit versions of Office. Just to make sure there were no other differences between my two machines, I went back to the 64-bit Office client, uninstalled all Office software, then installed the 32-bit version of Office 2010. I then did my test again, and everything worked just great.

So, my conclusion is: Connect ot Outlook does not work on a SharePoint 2010 External List when you are running 64-bit Office 2010.

Bind Infopath 2010 Form Control to another List Field


Hi, I am having Sharepoint 2010 RTM Enterprise Trial on Windows Server 2008 SP2.

I have Two Lists (List1 and List2) and List2 has a lookup field for List1 ID.

I want to bind some of the controls on infopath form of List1 to List2 fields such that when the user enters the values, these values would be saved in List2 and when the user want to edit the data of List1, the values can be retrieved from List2 on Form Load.

can it be done ?

can it be possible without having a field in List1 (direct binding to List2 field) ?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend