<?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>Invalid browser data, sequence contains no elements, and index out of range</title><link>https://www.infopathdev.com:443/forums/thread/52799.aspx</link><pubDate>Tue, 16 Mar 2010 22:10:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52799</guid><dc:creator>boerkie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52799</wfw:commentRss><description>&lt;p&gt;Hello - I am working on an InfoPath form that needs to generate data to Word via an AddIn. I am using InfoPath 2007, the form is browser-enabled, it submits to a SharePoint library, and we have (MOSS) 2007. Just yesterday morning, the InfoPath data generated to Word with the AddIn just fine. I made just a few minor changes to the form to&amp;nbsp;finalize it and then, while filling in a sample form, I received the following error message when I clicked on a repeating field in the form:&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;InfoPath Critical Error: The data posted from the browser is invalid. This may arise if a button (with an action other than rules) has been set never to send form data to the&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;server.&lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I&amp;#39;m not sure if that relates to what followed or not, but I finished filling in the sample form, then initiated the Word AddIn; but then I got the following error message and have not been able to find a way to fix this problem yet:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Word AddIn error message: Unable to load InfoPath form: sequence contains no elements&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;One of the few changes I made to the form before it stopped working correctly was to setup a custom submit message. (Other changes were renaming a few fields, which I&amp;#39;ve done many times successfully, and some basic layout changes). When I setup that custom submit message, published the form, and submitted a sample form to the SharePoint library, I noticed that the form data no longer filled into the SharePoint library columns. I removed the custom submit info from the form and republished it -&amp;nbsp;that didn&amp;#39;t get rid of the error message but the data did&amp;nbsp;show up in the columns again. I added the custom submit info back into the form, published it again and submitted a new sample form,&amp;nbsp;and then the data showed up in the columns. I tried generating that newly submitted form to Word with the AddIn and then got a new error message:&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Error Loading Form - Unable to load InfoPath form: Index was out of range. Must be non-negative and less than the size of the collection - Parameter name: index&lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I tried using the AddIn with the same InfoPath submitted form again right away and then got the same&amp;nbsp;error message as before: &lt;/font&gt;&lt;font size="2" face="Arial"&gt;Word AddIn error message: Unable to load InfoPath form: sequence contains no elements&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;If you have any idea about what might have happened, that would be really great! I&amp;#39;m under a deadline to get this form done and working, and I can&amp;#39;t believe this happened in the home stretch -&lt;/p&gt;
&lt;p&gt;Thanks very much :)&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Calibri"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>