Library : An error occurred querying a data source. RRS feed

  • Question

  • When accessing a library item, I do recieve the following error as a read only user. But it works fine for a contributor. Any clue

    Click Try Again to attempt to load the form again. If this error persists, contact the support team for the Web site. 

    Click Close to exit this message.

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    An entry has been added to the Windows event log of the server.
    Log ID:5566

    Correlation ID:87255b70-c124-4ff2-8b7e-99639d12ab9b

    And when looking into the Event log, below is the message displayed.

    The form template failed to load. (User: XXXXXX\Test_SP, Form Name: Template, IP: , Request: Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2013-06-28T23:49:39:972Z, Type: DataAdapterException, Exception Message: The form cannot run the specified query. The list could not be found.
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)))

    Thursday, June 25, 2015 1:22 AM

All replies

  • Hello,

    Are you using user profile service web service in infopath form? if so then problem might be following:

    1. Either you don't access to site to use this web service. Make sure user is having at least read right on that site'

    2. Try to convert that data connection to UDCX file and upload this file to site data connection library, approve this file then try.

    3. Make sure you are calling same site UPS in infopath form. If it is different site then make sure cross domain is enable in central admin, infopath form settings.

    Let us know your result

    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

    Thursday, June 25, 2015 9:29 AM