<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Urgent-Using code to submit fails sometime.</title><link>https://www.infopathdev.com:443/forums/thread/9145.aspx</link><pubDate>Wed, 06 Sep 2006 11:51:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9145</guid><dc:creator>carlw4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9145.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9145</wfw:commentRss><description>Yes, I tried that too. It worked a couple of times now doesn't work anymore. Back to square one.</description></item><item><title>Re: Urgent-Using code to submit fails sometime.</title><link>https://www.infopathdev.com:443/forums/thread/9144.aspx</link><pubDate>Sun, 26 Feb 2006 05:44:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9144</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9144.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9144</wfw:commentRss><description>Welcome Patrick.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek</description></item><item><title>Re: Urgent-Using code to submit fails sometime.</title><link>https://www.infopathdev.com:443/forums/thread/9143.aspx</link><pubDate>Fri, 24 Feb 2006 07:47:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9143</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9143.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9143</wfw:commentRss><description>Hi Abhishek,&lt;br /&gt;Excellent link! Thanks for sending this. This is very good.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPath Dev Seattle</description></item><item><title>Re: Urgent-Using code to submit fails sometime.</title><link>https://www.infopathdev.com:443/forums/thread/9142.aspx</link><pubDate>Wed, 22 Feb 2006 12:31:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9142</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9142.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9142</wfw:commentRss><description>Hi friends,&lt;br /&gt;Got the fix at the following link.&lt;br /&lt;a target="_blank" href=http://support.microsoft.com/default.aspx?scid=kb;en-us;907652&amp;sd=rss&amp;spid=2520#kb1&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;907652&amp;sd=rss&amp;spid=2520#kb1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek</description></item><item><title>Re: Urgent-Using code to submit fails sometime.</title><link>https://www.infopathdev.com:443/forums/thread/9141.aspx</link><pubDate>Wed, 22 Feb 2006 10:14:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9141</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9141.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9141</wfw:commentRss><description>This is the code that I use ...&lt;br /&gt;DAVAdapter oSharePoint = (DAVAdapter)thisXDocument.DataAdapters["Submit"]; &lt;br /&gt;oSharePoint.Submit();&lt;br /&gt;thisApplication.XDocuments.Close(thisXDocument);&lt;br /&gt;&lt;br /&gt;This is the final code in my button's Onclick event.&lt;br /&gt;Before this code gets executed,I update multiple tables in the database using webservice.&lt;br /&gt;&lt;br /&gt;I am not sure as to whether this problem arises from my code or from SharePoint .&lt;br /&gt;Please help.&lt;br /&gt;Thanks in advance,&lt;br /&gt;Abhishek</description></item><item><title>Urgent-Using code to submit fails sometime.</title><link>https://www.infopathdev.com:443/forums/thread/5385.aspx</link><pubDate>Wed, 22 Feb 2006 10:05:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5385</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5385</wfw:commentRss><description>Hi friends,&lt;br /&gt;I have a button in my form on the click of which I update multiple tables in my database using web service.&lt;br /&gt;Finally I use code to submit the form to a sharePoint form library.&lt;br /&gt;Some times the form gets submitted. Some times it doesnt.&lt;br /&gt;&lt;br /&gt;I get the following error message in the Catch block&lt;br /&gt;&lt;font color="red"&gt;{"InfoPath cannot submit the form.\nAn error occurred while the form was being submitted.\n??\nThe form cannot be submitted to the following location:&lt;a target="_blank" href=http://173.30.15.93:8060/sites/PR/PR&gt;http://173.30.15.93:8060/sites/PR/PR&lt;/a&gt; Form/PR_2006_000797.xml\nThe site may be offline, read-only, or otherwise unavailable.\n" }&lt;/font id="red"&gt;&lt;br /&gt;&lt;br /&gt;The best part is that once I restart the IIS in the SharePoint server, I am able to submit the form.&lt;br /&gt;Again after some time, this problem reappears.&lt;br /&gt;&lt;br /&gt;Any help would be greatly appreciated.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek&lt;br /&gt;</description></item></channel></rss>