can not connect Sharepoint data source to https site RRS feed

  • Question

  • Hi guys

    I have a sharepoint 2010 hosted with https ( ej: https://partner.coca-cola.com/sites/LARFC), without certificate.

    I make a VS2013 LS app , I enabled SH in Solution OK. but when try to add new DS tell me:

    https://partner.coca-cola.com/sites/LARFC/_vti_bin/listdata.svc does not appear to be a valid site. SharePoint 2010 (or later) with an installation of WCF Data Services is required.

    If I run in IE https://partner.coca-cola.com/sites/LARFC/_vti_bin/listdata.svc, the WCF is running and respond XML with SH object.

    The user/pwd that I'm using is Admin collection.

    Do you have any idea how to connect to this site?

    Thank in advance


    Ramiro B

    Thursday, December 5, 2013 10:37 PM

All replies

  • Did you try it without enabling sharepoint in LS?  If your site is SP2010 and not O365, then you don't need 'sharepoint enabled' you just need a plain old SharePoint datasource.  If that doesn't work then it may be something with your authentication setup in sharepoint.



    Saturday, December 7, 2013 1:59 AM
  • Hi

    Yes is Sp2010,but when I work using CSOM I use a remote server connection ( using cookies) but I don't know how to replicate this connection mode in LS.

    Do you have any idea?

    Ramiro B

    Monday, December 9, 2013 1:52 PM
  • Hi Ramiro B,

    Are you looking for the details about connecting to Sharepoint list? If so, you may refer to it below:

    • In Solution Explorer, click the Data Sources node.
    • On the Project menu, click Add Data Source….

      The Attach Data Source Wizard appears.

    • In the Choose a Data Source Type page, click SharePoint, and then click Next.

    • In the SharePoint Site Address box, type the URL of the SharePoint site that contains the list that you want to connect to. For example, if the URL of your list is http://sharepoint/sites/mysite/Lists/Customers/AllItems.aspx, type http://sharepoint/sites/mysite/ into the SharePoint Site Address box.


      You can reference lists in a SharePoint 2010 site only.

    • Click either Windows Credentials or Other Credentials.

      If you select Other Credentials, provide a valid user name and password in the appropriate boxes, and then click Next.

    • In the Choose your Database Objects page, select the lists that you want to use in your LightSwitch application, and then click Finish.

    The lists that you selected now appear underneath Data Sources in Solution Explorer.

    The lists that you selected appear in Solution Explorer as sub nodes of the Data Sources node.

    You can get detailed information from: How to: Connect to Data

    Please let me know if I have misunderstood you.

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, December 10, 2013 9:34 AM
  • Hi guys

    when I configure SH application I used, And connect Ok.

    my question is

    How i can connect to Add Data Source in de same way?

    Thank in advance



    Ramiro B

    Thursday, December 12, 2013 6:27 PM
  • Hi Ramiro B,

    https://partner.coca-cola.com/sites/LARFC/_vti_bin/listdata.svc is a WCF service which is hosted in SharePoint environment. So you can read the article from below link and follow the steps which is used to connect WCF service. Hope it can help.




    Friday, December 20, 2013 7:35 AM