<?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>How to handle exception for Data Connection ?</title><link>https://www.infopathdev.com:443/forums/thread/38809.aspx</link><pubDate>Mon, 23 Feb 2009 20:13:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38809</guid><dc:creator>InfoPathNovice</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38809.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=38809</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Every time my&amp;nbsp;InfoPath form is opened, I want to populate Dropdown box with SQL Data. I have webservice which collects data from SQL Server and returns back. In Infopath, I created new Data Connection and consuming this webservice to get data. I also checked &amp;quot;Automatically retrieve data when form&amp;nbsp;is opened&amp;quot;. This way I can get data every time when my form is opened. Everything is working fine. But when there is any exception then i do not want to display exception to end users. Is there any way to handle this exception ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in Advance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>