Getuserprofilebyname Error 5566
Contents |
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) Home20132010Other VersionsLibraryForumsGallery Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: Error 5566 - Infopath form getuserprofilebyname infopath 2010 to GetUserProfileByName SharePoint > SharePoint 2010 - Setup, Upgrade, Administration and sharepoint 2013 infopath user profile service Operations Question 0 Sign in to vote I have tried everything I can find to fix this the following query failed: getuserprofilebyname but not having any luck....:( I have a multi server farm (2 WFE, 2 APP, 1 Load Balancer) Infopath Form: Created an infopath form that calls the
Sharepoint 2013 Infopath And Claims – Getuserprofilebyname
from the web. The error message in ULS is - The following query failed: CreateUserProfileByName (User: Domain\MyFirstName.MyLastName, Form Name: Template, IP: , Connection Target: http://spsite/sites/SiteRequest/ConnectionLibrary/file.udcx, Request: http://spsite/sites/SiteRequest/Lists/Requests/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2012-08-28T23:06:23:223Z Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.) Tried using a udcx file with a hard coded username and password Tried using secure store serviceTried disabling ASP.Net impersonationTried with NTLM first and then with Kerberos Web AppTried both claims and classic authentication ( guess the former does not work with infopath)Made sure loopback was disabled on all serversHave ensured I can get to the webservice directly in a browserHosts files on the WFEs point to themselves Nothing works...:(....any ideas? Thanks in advance, Jake. Edited by jacobUT Friday, August 31, 2012 6:19 PM Friday, August 31, 2012 4:44 PM Reply | Quote Answers 2 Sign in to vote Hi All, Just an update. Finally after some network tracing I realized this
if you're using Claims-based authentication, which I believe is the default in SharePoint 2013. The Scenario: You have an on-premise SharePoint 2013 Server installation with
Error 5566 Infopath Sharepoint 2013
InfoPath Forms Services (so you have enterprise) and you want to create error 5566 infopath sharepoint 2010 an InfoPath form that auto-populates a logged in user's ID, email, and phone number. You are using Claims-based an error occurred while trying to connect to a web service. infopath 2013 authentication in the web application in question. In this scenario, I'm using InfoPath Designer 2010 - I haven't upgraded to 2013 yet, but I don't think it makes a difference. The https://social.technet.microsoft.com/Forums/office/en-US/f1c53565-f32d-4334-acd3-38664f8e1b79/error-5566-infopath-form-to-getuserprofilebyname?forum=sharepointadminprevious Problem: When you use Claims-based authentication, your user name is prefaced by "0#.w|". So for example, if your user name is SuesDomain\jdoe then your Claims-based user token will be, without the quotes: "0#.w|SuesDomain\jdoe" InfoPath can't handle that, or more specifically, the UserProfile.asmx method GetUserProfileByName method can't handle that. InfoPath tries to pass in your Claims-based user token instead of your domain\User https://suehernandez.wordpress.com/2013/10/11/sharepoint-2013-infopath-claims-getuserprofilebyname/ Name. You get 2 problems - you have an authentication problem where the currently logged in user is not allowed to hit the web service, so you get an Access Denied 401 authentication error. The second problem is getting the right user from the web service. The Solution: The steps you have to take are listed here. See the reference posts for more details and pictures. Have your Active Directory team create you a User Name and Password for a "generic" InfoPath Account. The one I created was called Domain\SP2013_IPRdr for "InfoPath Reader". Have the Central Administration team create a Secure Store service application, if they don't already have one. Generate the Secure Store key if you haven't already. Create a new application in the Secure Store called something like InfoPathGUPBN ("GetUserProfileByName" is what the acronym stands for); target application type is Group, and User Field Types are the Windows User Name and Password. Set the credentials: Whomever you want to administer the application should be set as the Target Application Administrators and for the Members, select All Users. Set the Cre
Photos Downloads InfoPath Dev » InfoPath » Web Services » Error occured Accessing Data Source Error ID 5566 Office365 Alert - Sandbox has been http://www.infopathdev.com/forums/p/7676/98800.aspx deprecated in SharePoint Online. Read more here. Having trouble finding a blog or post that answers your question? Check out our Custom Search Page Error occured Accessing Data Source Error ID 5566 Last post 08-24-2016 02:57 AM by akshay. 31 replies. Page 2 of 3 (32 items) < Previous1 2 3Next > Sort Posts: Oldest to newest Newest to oldest Previous Next 02-02-2009 05:54 error 5566 AM In reply to zeroecho Joined on 10-23-2007 Yorkshire, UK Posts 39 Re: Error occured Accessing Data Source Error ID 5566 Mark as Not AnswerMark as Answer... Reply Contact I am having this problem and can't pin point the error!Everything was working fine with people using browser based forms using resolveprincipals to get their display name, manager name, department etc from sharepoint profiles sharepoint 2013 infopath then Friday or Saturday it stopped working. The only two thing that hashappened since then wassome hotfixes /.net 3.5 service packswere installed on Saturday night. The machine was rebooted early hours of Sunday morning and it's been broken since then. I can't uninstall any of the hotfixes / .net3.5 install unless I know it is specifically which is causing the problem as it will require kicking everyone off the system to do it. In the mean time we have no timesheets, expenses, holiday requests etc. as they all use resolve principals to work. I tried using fiddler to snoop the webservice to see why it was failing to talk to the webservices but didn't get any obvious answers (never used it before) The error I get on the form is An error occurred accessing a data source. An entry has been added to the Windows event log of the server. Log ID:5566 An error occurred accessing a data source. An entry has been added to the Windows event log of the server. Log ID:5566 An error occurred accessing a data source. An entry has been added to the Window