<?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: Help with time out settings</title><link>https://www.infopathdev.com:443/forums/thread/58387.aspx</link><pubDate>Thu, 26 Aug 2010 18:49:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58387</guid><dc:creator>Altajeff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58387.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58387</wfw:commentRss><description>&lt;p&gt;We&amp;#39;re using jscript.&lt;br /&gt;I found and added the following and it appeared to work. Tested on 2 expense reports so far and it went through fine. Will&amp;nbsp;wait and see if this fixed it.&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;{&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;XDocument.QueryAdapter.Timeout=120; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;XDocument.Submit(); &lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;XDocument.Submit.Timeout=120; &lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I added the third line because I was not sure if leaving the second line as is would work. &lt;/p&gt;</description></item><item><title>Re: Help with time out settings</title><link>https://www.infopathdev.com:443/forums/thread/58382.aspx</link><pubDate>Thu, 26 Aug 2010 16:17:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58382</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58382.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58382</wfw:commentRss><description>&lt;p&gt;So you are using:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;var dAdapt = XDocument.DataAdapters[&amp;quot;&lt;strong&gt;Test1&lt;/strong&gt;&amp;quot;]; &lt;br /&gt;dAdapt.Timeout = &lt;strong&gt;60&lt;/strong&gt;; // Increase to 60 seconds - Default is 30 &lt;br /&gt;dAdapt.Query(); // Issue the query &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Which is the code from the original post. What is the name of your data adapter? Probably not &amp;quot;Test1&amp;quot; -- did you change that to your data adapter? Are you using jscript or vbscript?&lt;/p&gt;</description></item><item><title>Re: Help with time out settings</title><link>https://www.infopathdev.com:443/forums/thread/58379.aspx</link><pubDate>Thu, 26 Aug 2010 15:51:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58379</guid><dc:creator>Altajeff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58379</wfw:commentRss><description>&lt;p&gt;I actually follow information given by you on another post. &lt;a href="http://www.infopathdev.com/forums/t/11369.aspx"&gt;http://www.infopathdev.com/forums/t/11369.aspx&lt;/a&gt;&lt;br /&gt;Also tried to simplify it by trying ....&lt;br /&gt;dAdapt.Timeout = 60 &lt;br /&gt;dAdapt.Query = 60 &lt;/p&gt;</description></item><item><title>Re: Help with time out settings</title><link>https://www.infopathdev.com:443/forums/thread/58354.aspx</link><pubDate>Thu, 26 Aug 2010 01:23:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58354</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58354.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58354</wfw:commentRss><description>&lt;p&gt;Data connectors have a Timeout property you should be able to set. What was your code that didn&amp;#39;t do anything?&lt;/p&gt;</description></item><item><title>Help with time out settings</title><link>https://www.infopathdev.com:443/forums/thread/58352.aspx</link><pubDate>Wed, 25 Aug 2010 23:36:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58352</guid><dc:creator>Altajeff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58352.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58352</wfw:commentRss><description>&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Needing some help please with a time out error.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Erro: InfoPath cannot submit the form. &lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt;An error occurred while the form was being submitted. &lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt;The data operation timed out (30 sec).&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;The form is a mileage\expense report. Employee submits it fine and it&amp;#39;s e-mailed to a&amp;nbsp;manager. The manager is not able to approve it due to the&amp;nbsp;time out.&lt;br /&gt;It seems to be a hit and miss on when it can go through. Re-creating the report sometimes work.&lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;br /&gt;Using&amp;nbsp;&lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt;InfoPath 2003. Once approved it&amp;#39;s sent&amp;nbsp;to a SQL server.&amp;nbsp;Not using web service or SharePoint.&lt;br /&gt;The SQL server is not set to time out any queries or request. Can&amp;#39;t change the settings within SharePoint Central Admin, since it&amp;#39;s not being used. Tried adding a code to On Load Event, but that didn&amp;#39;t do anything.&lt;br /&gt;&lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt;Is there perhaps another setting within InfoPath that defines the time out?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Thanks&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>