<?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>Access denied when connecting to a SQL database. Weird issue.</title><link>https://www.infopathdev.com:443/forums/thread/40287.aspx</link><pubDate>Fri, 03 Apr 2009 09:05:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40287</guid><dc:creator>RuudC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=40287</wfw:commentRss><description>&lt;p&gt;My InfoPath template has always worked perfectly fine with Domain level trust. It could &lt;b&gt;receive &lt;/b&gt;data both local databases, and other databases on the network as datasource. It gave me no problems at all.&lt;/p&gt;&lt;p&gt;But now, suddenly, it gives me an error straight away when opening or previewing the form. No matter which database I use, it gives me an error &lt;i&gt;instantly.&lt;/i&gt; IP doesn&amp;#39;t even hang or anything, it just tells me:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The query cannot be run for the following DataObject: LoadFilter&lt;br /&gt;InfoPath cannot run the specified query.&lt;br /&gt;InfoPath cannot connect to the data source.&lt;br /&gt;Access is denied.&lt;br /&gt;Access is denied.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried the following:&lt;/p&gt;&lt;p&gt;- Create a new IP template with just a data connection (both local and elsewhere on the network). Result: same error.&lt;/p&gt;&lt;p&gt;- Create a new IP template using a webservice to do the querying for me: same error&lt;/p&gt;&lt;p&gt;- Reinstall / Repair IP: didn&amp;#39;t help&lt;/p&gt;&lt;p&gt;- Try to connect to the databases by other means (SQL management studio and visual studio): went perfectly fine.&lt;/p&gt;&lt;p&gt;From this I can conclude that there&amp;#39;s nothing wrong with my SQL servers, since I can query just fine by other means. It&amp;#39;s just the InfoPath templates that won&amp;#39;t work anymore.&lt;/p&gt;&lt;p&gt;I didn&amp;#39;t change anything in the form, nor did my user/group rights change in the network. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;The internet told me to put the form to &lt;b&gt;full trust&lt;/b&gt;. I did this, and of course it fixed the problem. However, I don&amp;#39;t want to put the form on Full Trust. Why should I? It didn&amp;#39;t need this before, and I certainly don&amp;#39;t want to mess with the certificate stuff. &lt;/p&gt;&lt;p&gt;Does anyone have a clue of what could be causing this? Please read the list of things I&amp;#39;ve tried before posting ideas. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Edit: Nevermind, the issue is solved, after 6 hours of meddling.&lt;/p&gt;&lt;p&gt;This topic (http://www.infopathdev.com/forums/t/5084.aspx) gave me the idea of checking my IE settings. And right I was: after changing the settings here, it worked again. I&amp;#39;m very dissapointed that InfoPath uses a part of the IE configuration though. I&amp;#39;m not even running my templates as webforms!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>