<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Error at calling SharePoint UserProfileService webservice function for domain trust</title><link>https://www.infopathdev.com:443/forums/thread/87773.aspx</link><pubDate>Thu, 07 Mar 2013 22:14:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87773</guid><dc:creator>TomRenfro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87773.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87773</wfw:commentRss><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Is the form trying to get the credentials for the current user?&amp;nbsp; If so, there&amp;#39;s a little known quirk with cross domain access regarding SharePoint.&amp;nbsp; You might try instead of BBBB\user, use concat(&amp;quot;BBBB\&amp;quot;, username()).&amp;nbsp; If that doesn&amp;#39;t work, you may need to establish an impersonation user in Secure Store Server in SharePoint, then use the formula before.&lt;/p&gt;
&lt;p&gt;If you need a link to where I found the solution, it&amp;#39;s under a previous post in the Data Connections forum.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Error at calling SharePoint UserProfileService webservice function for domain trust</title><link>https://www.infopathdev.com:443/forums/thread/87718.aspx</link><pubDate>Wed, 06 Mar 2013 15:38:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87718</guid><dc:creator>IdeasTree</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87718.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87718</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;We have lots of forms using SharePoint UserProfileService web service to retrieve user informaion, like accountid, email, telephone and etc.&lt;/p&gt;
&lt;p&gt;My company just acquired another company. Both sides have setup the domain trust. Lets say my company domain is AAAA, the acquired company domain is BBBB.&lt;/p&gt;
&lt;p&gt;InfoPath form&amp;nbsp;uses Contact Selector on the form for user selection, and it users GetUserProfileByName web function to retrieve users information.&lt;/p&gt;
&lt;p&gt;When user in domain AAAA tries to create a request through InfoPath Form for users in domain BBBB, Contact Selector&amp;nbsp;is able to find the user in domain BBBB (i.e BBBB\user1), but&amp;nbsp;the form&amp;nbsp;returns error at&amp;nbsp;retrieving the user information at calling GetUserProfileByName.&lt;/p&gt;
&lt;p&gt;The error is like:&lt;/p&gt;
&lt;p&gt;The query cannot be run for the following DataObject &amp;quot;GetuserProfileByName.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;InfoPath cannot run the specified query.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The SOAP response indicates theat the error occrued:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A use with the account&amp;nbsp;name BBBB\user1 could not be found&amp;nbsp; -&amp;gt;&amp;nbsp; User Not Found: Could not load profile data from the database.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also noticed all other data connections which receiving data from SharePoint list, or from customized web services (the ones I created and put on sharepoint server) are working fine.&lt;/p&gt;
&lt;p&gt;I have turn on &amp;quot;Cross-Domain Access for User Form Templates&amp;quot;, but no luck.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What could be the problem?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>