<?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</title><link>https://www.infopathdev.com:443/forums/thread/59127.aspx</link><pubDate>Wed, 22 Sep 2010 07:04:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59127</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59127.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=59127</wfw:commentRss><description>&lt;p&gt;Hi David Foster and welcome,&lt;/p&gt;
&lt;p&gt;InfoPath has a default time out of 30 seconds for data connections and I&amp;#39;m guessing that&amp;#39;s causing your problem. To increase this, you&amp;#39;ll have to add some code to your form. Another option would be to filter the data dynamically and just pull down the data that the user needs to access at that moment. This will likely make it much faster. To dynamically filter the data from a database in a browser form you will need a Web service installed on the server. Another option is to use SharePoint&amp;#39;s BDC/BCS to hook a SharePoint list up to the database and then InfoPath can query the SharePoint list using filterOwssvr. To simplify using this, you can install the free trial of Qdabra&amp;#39;s qRules. &lt;/p&gt;
&lt;p&gt;Hope this helps. Send me email if you want someone to show you how to extend the default timeout.&lt;/p&gt;</description></item><item><title>Data Connection Error</title><link>https://www.infopathdev.com:443/forums/thread/58960.aspx</link><pubDate>Wed, 15 Sep 2010 19:44:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58960</guid><dc:creator>David Foster</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58960.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=58960</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I&amp;#39;ve sent up a form to capture data&amp;nbsp;from&amp;nbsp;our&amp;nbsp;client database so that I may populate client information on the form. The database has about 35,000 records. When I run the form in design more everything works fine. When I try and post to SharePoint and run as a browser enabled form I get an generic error &lt;strong&gt;&amp;#39;An error occurred accessing a data source&lt;/strong&gt;.&amp;#39;. &lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;When I set the data source to not retrieve data when the form is open, it works. I then created a&amp;nbsp; &amp;#39;query the database rule&amp;#39; to search for the client&amp;nbsp;record based on the&amp;nbsp;id that the user had entered and the error&amp;nbsp;returns. I&amp;#39;ve tried changing settings in &lt;span class="ms-sitemapdirectional"&gt;Configure InfoPath Forms Services&lt;/span&gt;&amp;nbsp;&amp;nbsp;in SharePoint. Nothing seems to work, but I&amp;#39;m also not sure what changes would help. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Yes, the data links have been converted to Data Connection Library. One more thing if create a view that filters the data down to 7,000 records, everything seems to work, but this is not an option. I&amp;#39;ve also tried to create code-behind the form that will query the database, but I can&amp;#39;t seem to find a good example on how to get this accomplished. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;This same issues happen when I try and create a&amp;nbsp;browser enabled&amp;nbsp;form using &lt;a href="http://claytoncobb.wordpress.com/2009/07/19/infopath-user-roles-in-browser-enabled-forms-using-groups/"&gt;http://claytoncobb.wordpress.com/2009/07/19/infopath-user-roles-in-browser-enabled-forms-using-groups/&lt;/a&gt;&amp;nbsp;idea. Again I believe it&amp;#39;s because of the data size. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Can&amp;#39;t someone give me direction on what might work?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>