<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: (401) Unauthorized Log ID:5566</title><link>https://www.infopathdev.com:443/forums/thread/78402.aspx</link><pubDate>Wed, 09 May 2012 15:38:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78402</guid><dc:creator>BMARU</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78402.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78402</wfw:commentRss><description>Can anybody reply on this query?</description></item><item><title>(401) Unauthorized Log ID:5566</title><link>https://www.infopathdev.com:443/forums/thread/78236.aspx</link><pubDate>Wed, 02 May 2012 14:28:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78236</guid><dc:creator>BMARU</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78236.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78236</wfw:commentRss><description>Hi,
I am trying access UserProfileService Web service on InfoPath 2010 Web browser Administrator Approved Forms (Domain/Full) to populate the User Details on form Load .I am using claim based Kerberos authentication website.

I have configured the SPN for website and SQL server to use Kerberos authentication.This forms works in Preview Mode using claim based Kerberos authentication website and in browser &amp;amp; Preview Mode with using claim based NTLM authentication.

My web site has anonymous and impersonation authentication is disabled in IIS.I have disabled the sable the authentication loopback check by DisableLoopbackCheck=1 in registry I go the following error on browser......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:381b95c1-df14-42e7-9285-bf75830d2b3f In Log file I got the below error...
The following query failed: UserProfile (User: 0#.w|domain\username, Form Name: IP: , Connection Target: , Request: http://sitename/_layouts/FormServer.aspx?XsnLocation=http://sitename/sites/IT/FormServerTemplates/UserProfileServiceTest4000.xsn&amp;amp;SaveLocation=http:// sitename /sites/IT/SupportServices/UserProfileTest&amp;amp;ClientInstalled=false&amp;amp;Source=http://sitename/sites/IT/SupportServices/UserProfileTest/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:UserProfileServiceTest4000:-myXSD-2012-04-11T11-40-37 Type:
DataAdapterException, Exception Message:

The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.)

I have followed the work around suggested and tried to test it by providing explicit data connection

File and putting  


       
              DOMAIN\test.user1
              12313d2
       


 
Or  on form load b y changing the Account name by

http://stevessharepointnuggets.blogspot.co.uk/2012/03/infopath-2010-using-user-profile.html?m=1

 
concat (“domain\”,username()) or substring-after (username(),”|”) and call web service to get the data.

 
I think I have tried all the options available to solve the 5566 error but could not get any success.

Please help me

 
Thanks in advance</description></item></channel></rss>