<?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: infopath by sharepoint 2016 SOAP Web Query GetUserProfileByName, error 5566, but no environmental problem sharepoint2013</title><link>https://www.infopathdev.com:443/forums/thread/108181.aspx</link><pubDate>Wed, 05 Oct 2016 19:19:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108181</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108181.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108181</wfw:commentRss><description>Super late reply, but someone else had the same issue: &lt;a href="http://www.infopathdev.com/forums/t/31740.aspx"&gt;http://www.infopathdev.com/forums/t/31740.aspx&lt;/a&gt;</description></item><item><title>infopath by sharepoint 2016 SOAP Web Query GetUserProfileByName, error 5566, but no environmental problem sharepoint2013</title><link>https://www.infopathdev.com:443/forums/thread/107005.aspx</link><pubDate>Sun, 12 Jun 2016 06:46:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107005</guid><dc:creator>kiss9959</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107005</wfw:commentRss><description>HELLO:
         

I set up a new sharepoint 2016 environment. But also a new production of infopat form. I also facing the same problem of 5566. sharepoint 2013 does not have this problem. I hope someone can help solve. thank you very much., we are currently using a InfoPath form that query UserProfil Webservice in order to get GetUserProfileByName, 



In order to make the data connection work I followed this tuto (http://www.cdhtalkstech.com/2013/05/31/using-infopath-2013-to-query-data-from-the-user-profile-service-in-sharepoint-2013/) but I&amp;#39;m still getting error and more particularly : &amp;quot;The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator&amp;quot; 



Did one of you faced the same problem ? See complete log below:



InfoPath Forms Services       Runtime - Data Connections    

m1v0 Warning 

The following query failed: GetUserProfileByName (User: 0#.w|ph\sce_sharepoint2016, Form Name: Template_JobRequestv2, IP: , Connection Target: http://phind-app38:200/collaborative/job-request/ConnectionLibrary/Permanent_GetUserProfileByName.udcx, Request: http://phind-app38:200/collaborative/job-request/Lists/Temp%2520Job%2520Request/In%2520progress.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:Template-JobRequestv2:-dataFormSolution Type: DataAdapterException, Exception Message: The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator. The custom code in the form cannot be run. This functionality may be deactivated on the server. For more</description></item></channel></rss>