<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath 2013 REST Connection Errors</title><link>https://www.infopathdev.com:443/forums/thread/108742.aspx</link><pubDate>Thu, 01 Dec 2016 00:54:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108742</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108742.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=108742</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Your form is just directly published to the library? No code or anything like that? &lt;/p&gt;</description></item><item><title>Re: InfoPath 2013 REST Connection Errors</title><link>https://www.infopathdev.com:443/forums/thread/108657.aspx</link><pubDate>Mon, 21 Nov 2016 15:54:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108657</guid><dc:creator>lahddah</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=108657</wfw:commentRss><description>&lt;p&gt;Thank you for your suggestions, Hilary. When I wrote my question, my connection was loading on form load. I just had a test form with one field and when I get that working, I&amp;#39;ll incorporate it and more REST connections to the much larger and in depth form.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve change the connection to be queried with a button press, rather than on load,&amp;nbsp;and received the same results. Works great until I upload to SharePoint (Enterprise 2013). I&amp;#39;ve added another field and another data connection for the User Profile Service to just pull in my email - also on button press - and get the same results there, as well.&lt;br /&gt;&lt;br /&gt;So - two buttons with two fields querying two data sources. One using REST and one using SOAP. Both receive the same 401 error for the farm account when published.&lt;br /&gt;&lt;br /&gt;It seems to be something with the security for the Farm account, but I&amp;#39;m just not sure where else to look. Everywhere I can think of to look, has the Farm account with Full Control.&lt;br /&gt;&lt;br /&gt;Thanks, again.&lt;/p&gt;&lt;p&gt;&amp;nbsp;~l&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath 2013 REST Connection Errors</title><link>https://www.infopathdev.com:443/forums/thread/108646.aspx</link><pubDate>Fri, 18 Nov 2016 22:59:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108646</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108646.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=108646</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When is your data connection running? On load? I&amp;#39;d maybe drag the data fields onto the form and add a button that runs the query, just so you can open the form, then test the query. What about non-REST web services? Maybe try a query on the User Profile service - same issue? &lt;/p&gt;</description></item><item><title>InfoPath 2013 REST Connection Errors</title><link>https://www.infopathdev.com:443/forums/thread/108638.aspx</link><pubDate>Thu, 17 Nov 2016 22:52:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108638</guid><dc:creator>lahddah</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108638.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=108638</wfw:commentRss><description>&lt;p&gt;Hello - I know there are many questions and answers for this issue out there, but it feels as if I&amp;#39;ve tried all of the solutions offered and I&amp;#39;m still unable to get the REST connection work when the InfoPath 2013 form is published to the SharePoint 2013 sites.&lt;br /&gt;&lt;br /&gt;Basically, everything works okay from within InfoPath filler or locally, but when published I get the notorious 5566 error. I&amp;#39;ve got it narrowed down to (what seems to be) the FARM account. The message states:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The following query failed: REST Web Service 2 (User: 0#.w&lt;em&gt;|(domain)\(user),&lt;/em&gt; Form Name: TestingRest, IP: , Connection Target: , Request: &lt;em&gt;(fulldomain)&lt;/em&gt;/TestingRest, Form ID: urn:schemas-microsoft-com:office:infopath:TestingRest:-myXSD-2016-11-11T19-09-59 Type: DataAdapterException, Exception Message: The form cannot run the specified query.&lt;br /&gt;The remote server returned an error: (401) Unauthorized.)&amp;nbsp;&lt;/p&gt;&lt;p&gt;``&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the details tab, it states the user is &lt;em&gt;(domain)\(farm account)&lt;/em&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve set &amp;quot;&lt;font face="Calibri"&gt;&lt;strong&gt;DisableLoopbackCheck&amp;quot; to 1 &lt;/strong&gt;in regedit&lt;br /&gt;I&amp;#39;ve set &amp;quot;AllowAnonymous&amp;quot; in web.config to &amp;#39;false&amp;#39;&lt;br /&gt;I&amp;#39;ve restarted the server&lt;br /&gt;&lt;br /&gt;Still nothing shows with my simple one dropdown field form.&lt;br /&gt;&lt;br /&gt;When I type the URL into a browser it works fine, just like using in InfoPath filler or local. Example:&lt;br /&gt;http://domain/_api/Web/Lists/getByTitle(&amp;#39;ListTitle&amp;#39;)/Items&lt;br /&gt;&lt;br /&gt;Can anyone think of something I&amp;#39;m missing? The error used to be on user (domain)\IUSR, but after changing the AllowAnonymous in web.config file,&amp;nbsp;the error is now on (domain)\(farm account)&lt;br /&gt;&lt;br /&gt;Thank you, in advance.&amp;nbsp;&lt;br /&gt;~ l&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>