<?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: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61581.aspx</link><pubDate>Fri, 19 Nov 2010 22:55:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61581</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61581</wfw:commentRss><description>&lt;p&gt;The taskbar for windows or the status bar of IE?&lt;/p&gt;
&lt;p&gt;The status bar only says trusted sites | protected mode:off&lt;/p&gt;
&lt;p&gt;The task bar for my network status says &lt;em&gt;company&lt;/em&gt;.com (internet access)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;When I run IE as admin and go to Sharepoint I still get the Access Denied Errors.&lt;/p&gt;</description></item><item><title>Re: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61579.aspx</link><pubDate>Fri, 19 Nov 2010 22:30:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61579</guid><dc:creator>Jim Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61579.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61579</wfw:commentRss><description>&lt;p&gt;The big difference going between XP and Windows 7 is user account control (UAC).&amp;nbsp; The first thing to try is make sure to run as administrator following these steps.&lt;/p&gt;
&lt;p&gt;1) Close all Internet Explorer and InfoPath windows.&amp;nbsp; Check in task manager to make sure none are hanging around.&lt;/p&gt;
&lt;p&gt;2) Run IE as administrator.&amp;nbsp; Navigate to the SharePoint site (making sure it shows local intranet in the taskbar), and then open the form. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, where do the databases reside?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61577.aspx</link><pubDate>Fri, 19 Nov 2010 21:14:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61577</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61577.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61577</wfw:commentRss><description>It is failing on all Windows 7 Machines, for all users. Thank you for all your help, I&amp;#39;m just in a bind because the form this is for is a used for troubleshooting users issues in our department, and having accurate data is difficult to get if we rely on the users for all the data.</description></item><item><title>Re: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61576.aspx</link><pubDate>Fri, 19 Nov 2010 20:20:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61576</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61576</wfw:commentRss><description>Do you have one machine that is Windows 7? Or more than one? Does it fail on all Windows 7 machines? For all users? Sorry -- as you can tell, I don&amp;#39;t know what is causing this, just trying to help you brainstorm solutions.</description></item><item><title>Re: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61574.aspx</link><pubDate>Fri, 19 Nov 2010 19:45:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61574</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61574.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61574</wfw:commentRss><description>Opening a form from my local machine works fine.&lt;/p&gt;

SharePoint is on the local intranet.</description></item><item><title>Re: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61573.aspx</link><pubDate>Fri, 19 Nov 2010 19:32:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61573</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61573</wfw:commentRss><description>&lt;p&gt;You are using a form data connection, so it shouldn&amp;#39;t require full trust. What happens on your local machine if instead of Design / Preview, you simply open the form? Instead of opening from SharePoint?&lt;/p&gt;&lt;p&gt;Is your SharePoint site in your local intranet? (I&amp;#39;m trying to think of things that may be different between your XP machine and your Windows 7 machine).&lt;/p&gt;</description></item><item><title>Re: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61570.aspx</link><pubDate>Fri, 19 Nov 2010 18:55:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61570</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61570</wfw:commentRss><description>I&amp;#39;m also running on WSS not MOSS it that makes a difference.</description></item><item><title>Re: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61564.aspx</link><pubDate>Fri, 19 Nov 2010 18:12:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61564</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61564.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61564</wfw:commentRss><description>I don&amp;#39;t believe I&amp;#39;m using IP connections in the code.&lt;p /&gt;

This is the code I use to run the query:&lt;br /&gt;
            &amp;#39; Get the EMPLOYEE_VW connection from the DataConnections collection.&lt;br /&gt;
            Dim myEMPLOYEE_VW As AdoQueryConnection = _&lt;br /&gt;
               DirectCast(Me.DataConnections(&amp;quot;EMPLOYEE_VW&amp;quot;), AdoQueryConnection)&lt;p /&gt;

            &amp;#39; Change the SQL command for EMPLOYEE_VW connection to retrieve &lt;br /&gt;
            &amp;#39; the record of the Username from the current user.&lt;br /&gt;
            myEMPLOYEE_VW.Command = &amp;quot;select * from [EMPLOYEE_VW] where [COMPUTER_USERNAME] = upper(&amp;#39;&amp;quot; + CUser + &amp;quot;&amp;#39;)&amp;quot;&lt;p /&gt;

            &amp;#39; Execute the updated command against the data connection to refresh the data.&lt;br /&gt;
            myEMPLOYEE_VW.Execute()&lt;p /&gt;

I added the data connection through the data connection wizard, selecting Microsoft SQL Server.&lt;p /&gt;

The trust level is set to automatic, and while grayed out it has Domain Highlighted.&lt;p /&gt;

The weird thing is it works when I preview it but not when it&amp;#39;s published.</description></item><item><title>Re: Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61562.aspx</link><pubDate>Fri, 19 Nov 2010 17:58:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61562</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61562.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61562</wfw:commentRss><description>Are you using IP data connections in your code? Or some other approach? What is the trust level on the form?</description></item><item><title>Data Connection Error After Publishing</title><link>https://www.infopathdev.com:443/forums/thread/61455.aspx</link><pubDate>Tue, 16 Nov 2010 15:42:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61455</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61455.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=61455</wfw:commentRss><description>While testing for our transfer from XP to 7, I came across a problem.&lt;p /&gt;

If I open a new form from Sharepoint in Windows 7, I get an error messages that it cannot connect to my data connections that are windows server databases. I run queries on these databases using VB in the loading event. It works fine in XP, nut not 7.&lt;p /&gt;

However, if I go to design the form and not adjust anything and click preview, everything works fine. So then I thought maybe I just need to save the form from Windows 7, I created a test Form Library on Sharepoint and published my form there and it still fails with the data connection issue as above.&lt;p /&gt;

Does anyone have some insight as to how I can fix this?&lt;p /&gt;

Error given:&lt;br /&gt;
   The query cannot be run for the following DataObject: EMPLOYEE_VW&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;</description></item></channel></rss>