InfoPath unclosed literal string error -

Posted by GeorgeH on February 19, 2011

I had an InfoPath form that previously worked fine, including some retrieve data connections to SharePoint. After adding a new data connection, the following error messages were displayed after attempting to submit data, retrieve additional data or switch views. If attempting to submit or retrieve data from the secondary data sources, "There has been an error while processing the form" message is displayed with an option to try again or to exit the form. If I select try again, the error loops back to the same error message. After pressing "Exit Form" the following generic message is displayed: "The form has been closed" .

Error Details:
Exception occurred during request processing. (User: DOMAINusername, Form Name: IPForm078, IP: , Request: http://domain/_layouts/Postback.FormServer.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:IPForm078:-myXSD-2010-10-27T00-49-31, Type: XmlException, Exception Message: “There is an unclosed literal string. Line 1, position 208167”.)

Unhandled exception when rendering form System.Xml.XmlException: There is an unclosed literal string. Line 1, position 208167. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at ….

I found that Microsoft had released a hotfix relating to the “There is an unclosed literal string” error. The hotfix resolved the issue for me.


Related:

Unclosed Literal String
http://surepoint.wordpress.com/2009/02/13/infopath-unclosed-literal-string/
http://support.microsoft.com/kb/949752 (Hotfix details)

The Form has been Closed
http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/980eef0a-80a3-4f6e-94dd-6f2b3902dd5e/
http://www.infopathdev.com/forums/p/9677/34220.aspx

Rating

4/5

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.