Problem using UserProfileService.asmx - InfoPath Dev
in

InfoPath Dev

Problem using UserProfileService.asmx

Last post 04-05-2012 07:45 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-04-2012 08:55 AM

    Problem using UserProfileService.asmx

     Hello,

    I have created an InfoPath 2010 form, which uses the userprofileservice to get the current user's name and populate a name field on the form. This works in the preview but when I publish it to a SharePoint 2010 forms library and add a new item, I get the error below. When I click ok, it still goes to the form but the name is not auto-populated.

    However, if i use the server name in the url, It works. For example, if the url is http://company.ca/blah it doesn't work. But if i replace it with the server name then it works like so: http://server/blah.

    Any assistance that you can provide is greatly appreciated.

     

     

     





    Warning

    An error occurred querying a data source.
    Click OK to resume filling out the form. You may want to check your form data for errors.

    Hide error details
    An error occurred while trying to connect to a Web service.

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

    Correlation ID:38fdf8ff-3f33-4b45-9238-49943a02c67c

     

  • 04-05-2012 07:45 AM In reply to

    Re: Problem using UserProfileService.asmx

    Do you have access to the Sharepoint logs? If not, maybe a SharePoint administrator can help you. You can use that correlation ID to look in the logs and find the full error message.

    Is your form published to http://company.ca/blah or http://server/blah?

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


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