<?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>Data Connection Error after being Published</title><link>https://www.infopathdev.com:443/forums/thread/61425.aspx</link><pubDate>Mon, 15 Nov 2010 16:41:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61425</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61425.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=61425</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 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.&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>