GetUserProfileByName result Log ID:5566 for some users - InfoPath Dev
in

InfoPath Dev

GetUserProfileByName result Log ID:5566 for some users

Last post 01-18-2018 07:21 AM by Hilary Stoupa. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 01-12-2018 02:49 AM

    GetUserProfileByName result Log ID:5566 for some users


    In our envirenment we are using GetUserProfileByName to collect user data in infopath forms

    Since couple of months there was one user who when connect recieved error ID:5566

    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:e0bf3f9e-0ffc-202c-29fd-9214d8d65bdf

    Since January I have 2 other user's with the same issue. Does anyone can help me with proposal of the solution.

    I searched since the beginning but now it becomes bigger problem. Thank you,

    Filed under:
  • 01-12-2018 09:53 AM In reply to

    Re: GetUserProfileByName result Log ID:5566 for some users

     Always tough when an issue is not consistent - but I would first check the SharePoint ULS logs for the correlation ID to see if you can get more info on why the error is occurring.

    Hilary Stoupa

  • 01-15-2018 06:52 AM In reply to

    Re: GetUserProfileByName result Log ID:5566 for some users

    Thank you,

     

    I got this report in attachment txt

     

    Any Idea  ?

     

    It says that it cannot found user.

    But after click OK,  I see it found user. However each time user recieve an error on connection.

    I have same issue with another user who is  old in our env.

  • 01-15-2018 07:50 AM In reply to

    Re: GetUserProfileByName result Log ID:5566 for some users

     That is really strange. When does your query run? If it runs when the form loads, you may want to try changing it to a form load rule... but since it works for most users, it seems unlikely that moving the rule would fix this. Maybe try recreating the SharePoint profile for the user?

    Hilary Stoupa

  • 01-15-2018 08:06 AM In reply to

    Re: GetUserProfileByName result Log ID:5566 for some users

    The form is configured to fetch info from getuserprofilebyname on load.

     

    But I test it after as admin I can chang usernames and the same issue is appearing.

     

    We are using AD user's automatically implemented into sharepoint is it possible to recreate it in this case ? Thank you 

  • 01-16-2018 08:20 AM In reply to

    Re: GetUserProfileByName result Log ID:5566 for some users

    I'm not sure - do you have a SharePoint admin who might be able to help?
    Hilary Stoupa

  • 01-18-2018 04:32 AM In reply to

    Re: GetUserProfileByName result Log ID:5566 for some users

     Thank you you guided me to the solution of my problem:

     

    My problem was linked to : User Profile Synchronization Service Stuck on starting

    User profile synchronisation service was disabled.

    I had an issue to enable it it was blocked on provisioning. I had to stop the service by

    Stop-spserviceinstance <GUID>

    Log on as Farm administrator and start the service.

    After Sync it's working perfectly.



     

  • 01-18-2018 07:21 AM In reply to

    Re: GetUserProfileByName result Log ID:5566 for some users

    Thank you so much for posting back your solution - that will help others in the future! Glad things are working now.
    Hilary Stoupa

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