GetUserProfileByName - InfoPath Dev
in

InfoPath Dev

GetUserProfileByName

Last post 12-03-2014 08:27 PM by spanielle85. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 12-03-2014 08:27 PM

    GetUserProfileByName

    Hi, I have a form querying the getuserprofilebyname in our development version of sharepoint 2010. This is for a people picker field to get the users number, email & manager name. I have this in the query as well - substring(AccountId, 8, 50) I have test this form in my group of colleagues with 5 digit account id i.e (dustt). The query works fine. I test the form on a 6 digit id for my friend Long, the people picker field fails "An error occurred while trying to connect to a Web service" and pulls this error out. He has an active account in AD? "The remote server returned an error: (500) Internal Server Error. A user with the account name ee\lotran could not be found. ---> An error was encountered while retrieving the user profile. UserCannotBeFoundAn error was encountered while retrieving the user profile. The remote server returned an error: (500) Internal Server " Any ideas? Because I'm a bit clueless why the account id works on 5 characters instead of 6. I have added photos to help with viewing the problem.
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.