<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: forms services error - Unexpected end of file has occurred. The following elements are not closed: dfs:dataFields, dfs:myFields</title><link>https://www.infopathdev.com:443/forums/thread/39956.aspx</link><pubDate>Wed, 25 Mar 2009 09:01:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39956</guid><dc:creator>CraigW</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39956.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39956</wfw:commentRss><description>&lt;p&gt;For anyone else having the same issue, remove all un-needed data connections from the form.&amp;nbsp; That cleared the issue for me.&lt;/p&gt;
&lt;p&gt;Craig&lt;/p&gt;</description></item><item><title>forms services error - Unexpected end of file has occurred. The following elements are not closed: dfs:dataFields, dfs:myFields</title><link>https://www.infopathdev.com:443/forums/thread/39917.aspx</link><pubDate>Tue, 24 Mar 2009 16:38:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39917</guid><dc:creator>CraigW</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39917.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39917</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a form that works fine when I preview it in the infopath client.&amp;nbsp; I fill it in and it submits to my sharepoint site, and the VSTA code works too.&lt;/p&gt;
&lt;p&gt;Now, the same form is deployed as an administrator-approved template.&amp;nbsp; When I try and create a new item in the library, *any* postback to the server&amp;nbsp;in the form gives the following error:&lt;/p&gt;
&lt;p&gt;=========================================&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unexpected end of file has occurred. The following elements are not closed: dfs:dataFields, dfs:myFields. Line 1, position 477. &lt;br /&gt;&lt;br /&gt;System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: dfs:dataFields, dfs:myFields. Line 1, position 477. &lt;br /&gt;at System.Xml.XmlTextReaderImpl.Throw(Exception e) &lt;br /&gt;at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) &lt;br /&gt;at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements() &lt;br /&gt;at System.Xml.XmlTextReaderImpl.ParseElementContent() &lt;br /&gt;at System.Xml.XmlTextReaderImpl.Read() &lt;br /&gt;at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) &lt;br /&gt;at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) &lt;br /&gt;at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) &lt;br /&gt;at System.Xml.XmlDocument.Load(XmlReader reader) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.Xml.InfoPathXmlDocument.Load(XmlReader reader) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObject.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;.ctor&amp;gt;b__0() &lt;br /&gt;at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) &lt;br /&gt;at Microsoft.Office.Server.Diagnostics.ULS.SendWatsonOnExceptionTag(ULSTagID tagID, ULSCat categoryID, String output, Boolean fRethrowException, TryBlock tryBlock, CatchBlock catchBlock, FinallyBlock finallyBlock) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObject..ctor(EnhancedBinaryReader reader, Solution solution) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObjects.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;.ctor&amp;gt;b__0(EnhancedBinaryReader innerReader, DataObject&amp;amp; newObject) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.Serialization.EnhancedBinaryReader.ReadObjectMap[KeyT,ValueT](Dictionary`2 map, ItemReaderDelegate`1 readKey, ItemReaderDelegate`1 readValue) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.Serialization.EnhancedBinaryReader.ReadObjectMap[ValueT](Dictionary`2 map, ItemReaderDelegate`1 readValue) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObjects..ctor(EnhancedBinaryReader reader, Solution solution) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState.DesterilizeVersion1(EnhancedBinaryReader reader, Solution solution) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState..ctor(EnhancedBinaryReader reader, Solution solution) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState.CreateFromByteArray(Byte[] serializedSessionState, Byte[] serializedVersionState, Solution solution) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionStateManager.GetSessionState(HttpContext context, String editingSessionID, Solution solution) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.LoadFromSession(HttpContext context, SPSite contextSite, EventLogStart eventLogStart, Solution solution) &lt;br /&gt;at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;ProcessRequest&amp;gt;b__0()&lt;/p&gt;
&lt;p&gt;==============================================&lt;/p&gt;
&lt;p&gt;If I try and open an existing form, I get the grey &amp;#39;The form has been closed&amp;#39; message.&lt;/p&gt;
&lt;p&gt;As I said, this all works fine when it is previewed in&amp;nbsp;infopath!&lt;/p&gt;
&lt;p&gt;Any ideas what is going on?&amp;nbsp; I am rapidly coming to the conclusion that either infopath, forms services, or both are very buggy!!!!!!&lt;/p&gt;
&lt;p&gt;Craig&lt;/p&gt;</description></item></channel></rss>