<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Catastrophic Failure in Infopath While submitting to the Form Library</title><link>https://www.infopathdev.com:443/forums/thread/50258.aspx</link><pubDate>Sat, 02 Jan 2010 00:07:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50258</guid><dc:creator>eddyblanco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=50258</wfw:commentRss><description>&lt;p&gt;Hello rtkfour2, I actuall had the same issued on one my forms and never found a solution or the reason. What I did was do a try catch and add the same code to the catch.&lt;/p&gt;
&lt;p&gt;try&lt;/p&gt;
&lt;p&gt;{&lt;em&gt;XDocument.DataAdapters[&amp;quot;Data Connection Name&amp;quot;].Submit();}&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;catch{XDocument.DataAdapters[&amp;quot;Data Connection Name&amp;quot;].Submit();}&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Catastrophic Failure in Infopath While submitting to the Form Library</title><link>https://www.infopathdev.com:443/forums/thread/47959.aspx</link><pubDate>Fri, 16 Oct 2009 15:19:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47959</guid><dc:creator>rtkfour2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47959.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=47959</wfw:commentRss><description>&lt;font color="#000080" size="2"&gt;&lt;font color="#000080" size="2"&gt;
&lt;p&gt;&lt;strong&gt;Hi,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Using the below code i am trying to submit the infopath form in a form library in MOSS 2007.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;em&gt;XDocument.DataAdapters[&amp;quot;Data Connection Name&amp;quot;].Submit();&lt;/em&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;strong&gt;Here i am getting the error is &lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;
&lt;font face="MS Shell Dlg" size="2"&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;strong&gt;&amp;quot;The form cannot be submitted to the following location : http://....&amp;nbsp;(site name/filename.xml) &amp;quot;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;
&lt;font face="MS Shell Dlg" size="2"&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;strong&gt;&amp;quot;Catastrophic failure&amp;quot;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;
&lt;font face="MS Shell Dlg" size="2"&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;strong&gt;Its saying above two lines. Its not happening for all the infopath forms, its only happening for random no.of files out of 1000 forms. I am unable to figure out this issue because of Catastrophic failure. For more information on this, i am using Javascript for the behind code.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;
&lt;font face="MS Shell Dlg" size="2"&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;strong&gt;So&amp;nbsp;kindly i need your help on this Catastrophic failure.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;
&lt;font face="MS Shell Dlg" size="2"&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;strong&gt;Thanks in advance,&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;
&lt;font face="MS Shell Dlg" size="2"&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;strong&gt;SPS.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>