<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Got the "Index was out of range" error when publish the form to sharepoint library. =(</title><link>https://www.infopathdev.com:443/forums/thread/45681.aspx</link><pubDate>Mon, 10 Aug 2009 03:26:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45681</guid><dc:creator>lanijade</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45681.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=45681</wfw:commentRss><description>&lt;p&gt;Same problem occurred for me on a rich text field with conditional formatting relying on a data source. &lt;/p&gt;
&lt;p&gt;I too used true/ false fields in the main data source to get this to work.&lt;/p&gt;
&lt;p&gt;Seems like a bug to me.....&lt;/p&gt;</description></item><item><title>Re: Got the "Index was out of range" error when publish the form to sharepoint library. =(</title><link>https://www.infopathdev.com:443/forums/thread/45068.aspx</link><pubDate>Tue, 28 Jul 2009 05:27:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45068</guid><dc:creator>mobrien118</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45068.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=45068</wfw:commentRss><description>&lt;p&gt;EDIT: EDIT: I FINALLY DID solve it. The problem was rules on the fields that looked like this: [Condition: CheckBox {is equal to} &amp;quot;true&amp;quot;] THEN [{set} Read Only]&lt;/p&gt;&lt;p&gt;I guess it is redundant anyway, since the XML file is not writable by the form anyway (since it is a &amp;quot;receive data&amp;quot; source). I can&amp;#39;t BELIEVE this little thing has caused me so much TROUBLE! How do you guys deal with developing in Microsoft Land all the time?&lt;/p&gt;&lt;p&gt;Anyway, thanks to anyone who read this with the intention of helping!&lt;/p&gt;&lt;p&gt;I am keeping my previous edits intact, for anyone who is interested: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;EDIT: I did not solve it. For some reason, I thought that was working, but it was not. Here is what I posted when I thought it was working: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Never mind. I solved it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The issue I was having was caused by my using a secondary XML data source as such:&lt;/p&gt;&lt;p&gt;1. There are two types of fields in the datasource, and, I must admint, I am no XML expert and probably needed a schema. Anyway, there are true/false fields and &amp;quot;xhtml&amp;quot; fields.&lt;/p&gt;&lt;p&gt;2. When a checkbox is checked (which is bound to one of the true/false fields in the XML file), it changes a &amp;quot;Rich Text Box&amp;quot; which is linked to one of the xhtml nodes, from &amp;quot;Hidden&amp;quot; to &amp;quot;read only&amp;quot;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This was causing a problem, for some reason. It worked fine in the InfoPath client, but I got that error when trying to publish to the web. The design checker didn&amp;#39;t catch this, but would throw the above error, also, when run.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know if this will help anyone, but my solution was to create the true/false fields in the main datasource and bind the checkboxes to them. This seems to have fixed the problem.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;--mobrien118 &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Got the "Index was out of range" error when publish the form to sharepoint library. =(</title><link>https://www.infopathdev.com:443/forums/thread/45067.aspx</link><pubDate>Tue, 28 Jul 2009 04:44:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45067</guid><dc:creator>mobrien118</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45067.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=45067</wfw:commentRss><description>&lt;p&gt;I must have come back to this post at least 30 times by now. I don&amp;#39;t see how the link provided relates to the problem.&lt;/p&gt;&lt;p&gt;I am having the same issue publishing a form. It gets data from an external XML file (that can be imported into the file as a&amp;nbsp; Resource, it doesn&amp;#39;t make any difference). I get that error when publishing or checking on the server. When I remove all of the rich text fields that depend on the XML data, the error goes away. How can I use the data from the XML file (In which the nodes contain XHTML) in my form without getting the error?&lt;/p&gt;&lt;p&gt;&amp;nbsp;The link sent as a solution has nothing to do with it and is about SQL reporting services. The only thing in common is the actual .NET error that is thrown upstream. &lt;/p&gt;&lt;p&gt;So, I guess the question I should also ask, is, Nikki, how did you solve your problem? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;--mobrien118 &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Got the "Index was out of range" error when publish the form to sharepoint library. =(</title><link>https://www.infopathdev.com:443/forums/thread/36724.aspx</link><pubDate>Wed, 07 Jan 2009 16:06:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36724</guid><dc:creator>Nikki Klung</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36724.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36724</wfw:commentRss><description>&lt;p&gt;Thank you Shiva. =)&lt;/p&gt;</description></item><item><title>Re: Got the "Index was out of range" error when publish the form to sharepoint library. =(</title><link>https://www.infopathdev.com:443/forums/thread/36650.aspx</link><pubDate>Tue, 06 Jan 2009 17:27:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36650</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36650</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Check out this link,&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/973e3546-3f52-4d1e-b370-6af79a4c3c53/"&gt;http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/973e3546-3f52-4d1e-b370-6af79a4c3c53/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Got the "Index was out of range" error when publish the form to sharepoint library. =(</title><link>https://www.infopathdev.com:443/forums/thread/36638.aspx</link><pubDate>Tue, 06 Jan 2009 15:17:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36638</guid><dc:creator>Nikki Klung</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36638.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36638</wfw:commentRss><description>&lt;font face="Helv" size="2"&gt;
&lt;p&gt;I got stuck with infopath07 and sharepoint library.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to publish the infopath form to sharepoint site but I got this error. &lt;/p&gt;&lt;font face="Helv" size="2"&gt;&lt;strong&gt;&amp;quot;The SOAP response indicates that an error occurred on the server:&lt;/strong&gt;&lt;/font&gt;&lt;font face="Helv" size="2"&gt; 
&lt;p&gt;&lt;strong&gt;Server was unable to process request. ---&amp;gt; Index was out of range. Must be non-negative and less than the size of the collection.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameter name: index&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the past, I have created many forms and did the same steps as this one. I never got this error. So I really have no idea how to figure it out. =(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does&amp;nbsp;any one&amp;nbsp;have any idea? Please help me.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you.&lt;/p&gt;
&lt;p&gt;Nikki&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>