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'm still getting error and more particularly : "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"
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