none
Info path "An error occurred querying a data source".

    Question

  • Hi Everyone,

    I am working with Info Path designer. I am trying to display values from GetUserProfileByName.

    When i click on preview it is displaying correct values but when i open that in my browser it is giving error message like,

    Please help me out here.

    Thanks & Regards,

    Santhoshi.

    Tuesday, March 19, 2013 5:59 AM

Answers

All replies

  • Hi,

    5566: It is defiantly permission issue with GetUserProfileByName service and could be many reasons of this problem. You first try with UDCX file and make sure that UPS is running:

    http://itguru.asia/?p=145

    http://social.msdn.microsoft.com/forums/en-US/sharepointadminprevious/thread/f1c53565-f32d-4334-acd3-38664f8e1b79

    Let us know your result


    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"

    Whenever you see a reply and if you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Alternate TextMark As Answer

    Please feel free to unmark answer if does not resolves your problem.

    • Marked as answer by P.Santhoshi Tuesday, March 19, 2013 10:50 AM
    Tuesday, March 19, 2013 6:20 AM
    Moderator
  • Can you confirm that the account you are connecting with has a profile in the user profile service you are connecting to as if not, this error will happen.  You could also check what trust has been given on the form from the options in InfoPath.

    Regards

    Sergio Giusti
    http://sergioblogs.blog.co.uk/

    Whenever you see a reply and if you think is helpful, click " Alternate Text Vote As Helpful". And whenever you see a reply being an answer to the question of the thread, click " Alternate Text Mark As Answer".

    Tuesday, March 19, 2013 8:16 AM