Error: An error occurred accessing a data source. - InfoPath Dev
in

InfoPath Dev

Error: An error occurred accessing a data source.

Last post 08-28-2009 09:29 AM by Jim Cantwell. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 08-21-2009 04:10 AM

    • InfoP
    • Not Ranked
    • Joined on 01-22-2009
    • Posts 20

    Error: An error occurred accessing a data source.

    Hi,

    I created a browser enabled InfoPath form with using a data connection to QDABRA AD Web Service.

    I published my form to the Sharepoint, when I try to open it, I get the error message below;

    An error occurred accessing a data source.

    An entry has been added to the Windows event log of the server.

    Log ID:6932

    Any suggestion how to resolve this?

    PS: Please be clear with your recommendations/instructions as I am not s Sharepoint Guru

    Thank you

  • 08-21-2009 08:23 AM In reply to

    Re: Error: An error occurred accessing a data source.

    Troubleshooting ideas:

    1. If you remove the Qdabra AD connection, republish the form to Sharepoint, and open in the browser, does it work?

    2. If you (leave the Qdabra AD connection) remove the browser compatability, republish to Sharepoint and open in InfoPath, does the form work?

    This will give us a better idea of what could be causing this, since the error is too vague. (Might also want to check event viewer to see if there are more details there).

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 08-21-2009 08:41 AM In reply to

    • InfoP
    • Not Ranked
    • Joined on 01-22-2009
    • Posts 20

    Re: Error: An error occurred accessing a data source.

    Hi,

    1- If I remove the Qdabra AD data connection and remove the values from my fields where there is a connection to AD Web Service and republish, I can open the form with the browser. It works.

    2- If I leave the Qdabra connection, remove the browser compatibility, republish, I can open the form with Infopath, it works.

    Under Central Administration, Application Management, Infopath Forms Services and Configure InfoPath Forms Services, the checkbox has been selected for "Allow cross-domain data access for user form templates that use connection settings in a data connection file".

    Thank you

  • 08-25-2009 09:04 AM In reply to

    Re: Error: An error occurred accessing a data source.

    Have you tried making your AD connection a UDC connection? An MSDN article here may help you with this, if you haven't done it before.

    Hilary Stoupa

  • 08-28-2009 07:19 AM In reply to

    • InfoP
    • Not Ranked
    • Joined on 01-22-2009
    • Posts 20

    Re: Error: An error occurred accessing a data source.

    Yes, I converted my AD connection to UDC like explained in the article. I approved this connection and still get the same error. Is there a chance for you to test it in your LAB (create a browser-enabled form with AD QDABRA web service) and let me know if it will work?

    Thank you

  • 08-28-2009 09:29 AM In reply to

    Re: Error: An error occurred accessing a data source.

    A few questions: 

    1) Is the AD Service on the same server as the InfoPath form?

    2) Is the form and AD Service using the same domain (e.g.  http://mydomain.com/QdabraWebService/ADUserInfo.asmx and http://mydomain.com/sites/mysite/...)

    3) It notes an event was written to the eventlog.  What is the content of the eventlog message?

     

Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.