<?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: Error while adding multiple rows in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/38091.aspx</link><pubDate>Wed, 04 Feb 2009 23:04:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38091</guid><dc:creator>InfoPathNovice</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=38091</wfw:commentRss><description>&lt;p&gt;Shiva,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I was getting error because i am inserting many records in repeating table. I tried to enter different no. of records and monitored response time. Here is the results:&lt;/p&gt;
&lt;p&gt;For 500 records, Response time = 3 minutes.&lt;br /&gt;For 600 records, Response time =&amp;nbsp;4 minutes.&lt;br /&gt;For 700 records, Response time =&amp;nbsp;5&amp;#39; 50&amp;quot; minutes.&lt;/p&gt;
&lt;p&gt;It seems this response time is really slow as compare to ASP.NET web application.&amp;nbsp;Here is my code for inserting new row/record in repeating table.&lt;/p&gt;
&lt;p&gt;foreach (XPathNavigator singleItem in RepeatingTableItems)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XPathNavigator newRow = myRepeatingTable.Clone();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newRow.InsertBefore(myRepeatingTable);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; firstName.SetValue(&amp;quot;FirstName&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lastName.SetValue(&amp;quot;LastName&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; address.SetValue(&amp;quot;Address&amp;quot;);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Is this normal response time in infopath form when you insert &amp;gt;500 records ? OR Is there any solution to insert rows/records with fast response time ?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Error while adding multiple rows in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/37980.aspx</link><pubDate>Mon, 02 Feb 2009 17:06:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37980</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37980.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37980</wfw:commentRss><description>&lt;p&gt;Hello&amp;nbsp;Welcome to the Forums,&lt;/p&gt;
&lt;p&gt;Can you check your inserted new node is structure same as in template.xml file. You are inserting node position also should be same as template.xml otherwise it will give error message.&lt;/p&gt;</description></item><item><title>Error while adding multiple rows in repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/37855.aspx</link><pubDate>Thu, 29 Jan 2009 16:41:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37855</guid><dc:creator>InfoPathNovice</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37855</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using Infopath 2007. I am calling webservice and populate repeating table (C# code). It works perfectly fine&amp;nbsp;when i have ~100 records. But when&amp;nbsp;there are more records (~700),&amp;nbsp;&amp;nbsp;application throws following exception:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;System.Runtime.InteropServices.SEHException&lt;br /&gt;External component has thrown an exception.&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.MsoOffice.InfoPath.MsxmlInterop.NativeHelpers.InsertBefore(Char* , IXMLDOMNode* , IXMLDOMDocument3* )&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.MsoOffice.InfoPath.MsxmlInterop.MsxmlNodeImpl.InsertBefore(String strXml, MsxmlNode refChild)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.MsxmlWriter.Close()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlWellFormedWriter.Close()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XPath.XPathNavigator.InsertBefore(XmlReader newSibling)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XPath.XPathNavigator.InsertBefore(XPathNavigator newSibling)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Template1.FormCode.CTRL1_5_Clicked(Object sender, ClickedEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>