<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123857.aspx</link><pubDate>Tue, 02 Feb 2021 23:27:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123857</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123857</wfw:commentRss><description>So - looking at your error log, it looks like there is something wrong with the deployed form - it claims it can&amp;#39;t find a file, and I&amp;#39;m assuming the file it can&amp;#39;t find is the qRules DLL. In the past, I&amp;#39;ve deactivated, uninstalled, reinstalled, and reactivated templates that are having trouble finding their qRules DLL - the message was different (last time I saw this was on a SharePoint 2013 machine), but the root cause may be the same. I don&amp;#39;t have a 2016 server to test your form on, I&amp;#39;m afraid. We mainly use SharePoint online with FormsViewer instead of using InfoPath Forms Services....</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123855.aspx</link><pubDate>Tue, 02 Feb 2021 18:43:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123855</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123855</wfw:commentRss><description>I should add - it doesn&amp;#39;t look like you are using any of the commands that require the admin qRules DLL? You may also want to try the sandbox version and just publish directly to a test library instead of admin approving....</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123854.aspx</link><pubDate>Tue, 02 Feb 2021 18:41:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123854</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123854.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123854</wfw:commentRss><description>I&amp;#39;ll take a look at the log file. Here&amp;#39;s a form with custom code - you can try publishing this as admin approved and see if you have any issues with it. When you publish, it will whine about the location of the source code - you should be able to just click Ignore on that and finish publishing. The code just sets a field&amp;#39;s value if I recall correctly.</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123853.aspx</link><pubDate>Tue, 02 Feb 2021 18:32:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123853</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123853.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123853</wfw:commentRss><description>Hi Hilary,

I have created a test form with GetUser... etc.  It is not an admin deployed form- but it works fine.

I have disabled all of the rules on the Finishedloading of QdabraRules. And added a new page on the form to run the GetUser.... manually for testing.  That worked fine.


I have now tried to re-enable the rules on Finished loading and I get a different correlation error - attached.  

I don&amp;#39;t know what I have done to completely break it.

Catharine</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123840.aspx</link><pubDate>Fri, 29 Jan 2021 17:13:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123840</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123840.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123840</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;SharePoint is 2016, right? The 2019 reference is to the server OS? I found this:&lt;/p&gt;&lt;p&gt;&lt;a href="https://social.technet.microsoft.com/Forums/lync/en-US/f44eec81-a73f-4f9d-ac45-1952acf71751/an-error-occurred-querying-a-data-source-infopath-getuserprofilebyname-error?forum=SP2016"&gt;https://social.technet.microsoft.com/Forums/lync/en-US/f44eec81-a73f-4f9d-ac45-1952acf71751/an-error-occurred-querying-a-data-source-infopath-getuserprofilebyname-error?forum=SP2016&lt;/a&gt;&lt;/p&gt;&lt;p&gt;And there is a post that suggests this issue is fixed with a patch.&amp;nbsp;Is SharePoint fully patched?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123839.aspx</link><pubDate>Fri, 29 Jan 2021 15:34:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123839</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123839</wfw:commentRss><description>I&amp;#39;ll take a look at the logs - but I would also create a new, blank form. Add a data connection to the user profile service. Don&amp;#39;t run the connection on load. Add the data source query and data fields to your form view, and add a button that runs the query. I usually also throw a text box on the form with the default set to the userName() function - to make it easy to copy / paste into the query field for the secondary data source. Publish to a new library as a browser form. Open the form in the browser, set the query field to your user name and execute the query. What happens? I&amp;#39;m guessing you&amp;#39;ll still get an error - but this at least gives you a very simple sample to test with.</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123838.aspx</link><pubDate>Fri, 29 Jan 2021 15:09:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123838</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123838.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123838</wfw:commentRss><description>Hi Hilary,

I have asked the person looking after our server to have a look at the document, he says he has checked the registry and the loopback and they are both set up as documented in the link.  This is a 2019 server.

I am still getting the issue.  I have attached the log for the correlation error I am getting.  The exceptions start on 411....  Does this give you any other ideas ?

Catharine</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123828.aspx</link><pubDate>Wed, 27 Jan 2021 18:43:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123828</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123828</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Usually for a 5566 in the browser I&amp;#39;ve taken one of the approaches outlined here: &lt;a href="https://docs.microsoft.com/en-US/troubleshoot/windows-server/networking/accessing-server-locally-with-fqdn-cname-alias-denied"&gt;https://docs.microsoft.com/en-US/troubleshoot/windows-server/networking/accessing-server-locally-with-fqdn-cname-alias-denied&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Since I&amp;#39;m normally on a DEV server, I just disable loopback check - and that may be your fastest way to check the GetUserProfileByName issue. &lt;/p&gt;&lt;p&gt;In terms of the custom code message - that may be something else, related to qRules. But I&amp;#39;d start with getting the GetUserProfileByName query working....&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123827.aspx</link><pubDate>Wed, 27 Jan 2021 17:06:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123827</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123827.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123827</wfw:commentRss><description>I am still struggling to get this working... but have managed to move on.  My latest errors are when trying to run the web service &amp;quot;GetUserProfileByName&amp;quot;.

When I run the form in preview from my pc it runs fine.  

When I run the form on the server I get &amp;quot;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:4a6fa59f-8109-1046-81ee-aba922a160db&amp;quot;

Looking at the the logs, I have found the reference to GetUserProfileByName and &amp;quot;The custom code in the form cannot be run. This functionality may be deactivated on the server.&amp;quot;  (see below.)
Do you know where on the server I can activate the functionality. 


Redirection for web service call to GetUserProfileByName found. Executing.	b963a59f-d1ba-1046-81ee-a948c2deb55a

System.Net.WebException: 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;gt; System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.InfoPath.Server.SolutionLifetime.UserProfileWebServiceRedirectionBase.LoadProfileData(UserProfile userProfile)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.UserProfileWebServiceRedirectionBase.GetUserProfileByNameInternal(String userName)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.GetUserProfileByNameWebServiceRedirection.Execute()     at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.HandleInternalWebService(SPSite site, Uri destination, String name, X...	b963a59f-d1ba-1046-81ee-a948c2deb55a

Thank you

Catharine</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123793.aspx</link><pubDate>Tue, 12 Jan 2021 18:18:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123793</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123793</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The UDCX looks right. &lt;/p&gt;&lt;p&gt;The logs are saying: Cannot find site lookup info for request Uri&lt;/p&gt;&lt;p&gt;Then: Unable to connect to the remote server ---&amp;gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it&lt;/p&gt;&lt;p&gt;So - I guess I&amp;#39;d verify that URL&amp;nbsp;for the GetUserInfo service is accessible from the SharePoint server. I.e., log onto the SharePoint Server and try to access&amp;nbsp;QdabraWebServices, and make sure you can access GetUserInfo…. If you can, sign in as the account you are using in the stored creds for your UDCX....&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123792.aspx</link><pubDate>Tue, 12 Jan 2021 12:45:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123792</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123792</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have done some more trawling... I think the issue is with GetUserInfo I have attached the udsx (with id and password removed.) Does this look right ?&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Catharine&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123786.aspx</link><pubDate>Mon, 11 Jan 2021 17:41:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123786</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123786.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123786</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary - Happy New Year to you !!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you for pointing me in the correct direction.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have fixed the SAD/SAD error (duh sorry about that finger/eye error - you look at something numerous times and see what you expect to see.)&amp;nbsp;Now I am&amp;nbsp;only getting the&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;quot;Unable to connect to the remote server Unable to connect to the remote server&amp;quot;&amp;nbsp; error (5* in the Windows Event logs)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have attached the new log.&amp;nbsp;&lt;/p&gt;&lt;p&gt;The ip addresses for the server look correct. The account I am using to run this is Farm admin/Site collection admin, (although the users who need to be able to run it are not).&amp;nbsp;Any ideas ?4&lt;/p&gt;&lt;p&gt;Catharine&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123784.aspx</link><pubDate>Mon, 11 Jan 2021 16:57:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123784</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123784</wfw:commentRss><description>I&amp;#39;m seeing errors for RiskAssessmentsRole and RiskAssessmentCountries. Search for GetMetadataForUrl in the attached log file and you&amp;#39;ll see that the form is trying to access a relative URL like: /SAD/SAD/Lists/RiskAssessmentCountries. To me, it looks like the Site portion of the URL is duplicated. I&amp;#39;m guessing you don&amp;#39;t have a site named SAD directly under another site named SAD?</description></item><item><title>Problems having moved form to new Domain - SharePoint 2016 (on prem)</title><link>https://www.infopathdev.com:443/forums/thread/123783.aspx</link><pubDate>Mon, 11 Jan 2021 16:45:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123783</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=123783</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Our environment has gone through radical changes.&amp;nbsp; Our company has been sold and we have new domains/tenants/SharePoint Farms.&lt;/p&gt;&lt;p&gt;I have moved a form to the new farm, updated the data connections and re-published it is opening with correlation errors.&lt;/p&gt;&lt;p&gt;The error is &lt;/p&gt;&lt;p&gt;&amp;quot;You do not have permissions to access a SharePoint list that contains data required for this form to function correctly.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;An entry has been added to the Windows event log of the server. &lt;/p&gt;&lt;p&gt;Log ID:5566 &lt;/p&gt;&lt;p&gt;Correlation ID:4945a09f-5161-1046-81ee-ac87ab886de1 &amp;quot;&lt;/p&gt;&lt;p&gt;I have looked at the event log for the server and&amp;nbsp;there appear to be a couple of types of error&lt;/p&gt;&lt;p&gt;&amp;nbsp;string6 urn:schemas-microsoft-com:office:infopath:TechnicalRiskAssessmentForm:-myXSD-2015-07-27T14-23-08 &lt;br /&gt;&amp;nbsp;string7 DataAdapterException &lt;br /&gt;&amp;nbsp;string8 Unable to connect to the remote server Unable to connect to the remote server &lt;/p&gt;&lt;p&gt;And&lt;/p&gt;&lt;p&gt;&amp;nbsp;string6 urn:schemas-microsoft-com:office:infopath:TechnicalRiskAssessmentForm:-myXSD-2015-07-27T14-23-08 &lt;br /&gt;&amp;nbsp;string7 DataAdapterException &lt;br /&gt;&amp;nbsp;string8 The form cannot run the specified query. The list could not be found. &lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;I have attached an extract from the ULS logs which contain that correlation id and the Form.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;When we moved the data to the new SharePoint Farm, the version of the farm was identical, and we were able to move the whole DB so guids &amp;quot;SHOULD&amp;quot; have remained the same.&lt;br /&gt;&amp;nbsp;I have been through the whole InfoPathform and changed the url to the new correct URL.&amp;nbsp; (I have tried to double check using the manifest and source files)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;I am still getting the error, so I guess I have missed something.&amp;nbsp; How can I find which list/s I am getting the error on.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Thank you.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Catharine&lt;/p&gt;</description></item></channel></rss>