<?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: How do you debug a DataConnection.Execute that silently fails?</title><link>https://www.infopathdev.com:443/forums/thread/101632.aspx</link><pubDate>Tue, 10 Mar 2015 15:27:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101632</guid><dc:creator>jeancallisti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=101632</wfw:commentRss><description>SOLVED. The form was saved properly, it&amp;#39;s a view filter that was preventing me from seeing it in the library. *ashamed*</description></item><item><title>How do you debug a DataConnection.Execute that silently fails?</title><link>https://www.infopathdev.com:443/forums/thread/101627.aspx</link><pubDate>Tue, 10 Mar 2015 14:54:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101627</guid><dc:creator>jeancallisti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=101627</wfw:commentRss><description>My code looks like this :


this.DataConnections[Constants.DCSUBMIT].Execute();


It&amp;#39;s in the code-behind of the form&amp;#39;s &amp;quot;Save&amp;quot; button (it needs to be done using code-behind because it performs various checks).
It used to work and to be quite stable. the form gets saved into a Sharepoint documents library.


But I broke something, I don&amp;#39;t know what. When I submit the form, there is no error message (!) but the form doesn&amp;#39;t appear in the Sharepoint documents library.
&lt;b&gt;How do you debug this? How do you get the error message, if there is one, when no exception is raised?&lt;/b&gt;  I tried to cast the DataConnection object to SharePointListRWQueryConnection to get the resulting xml data, but VS2005 won&amp;#39;t recognize the class SharePointListRWQueryConnection and I can&amp;#39;t find what reference is missing...</description></item></channel></rss>