Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / October 2007

Tip: Looking for answers? Try searching our database.

Unexpected end of file while parsing Name has occurred

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raphael Iloh - 29 Oct 2007 12:55 GMT
Hi,
I've got a browser-compatible IP form that has several views. when the form
loads in the browser for the first time, it loads fine. However, when a
postback occurs, it throws the following exception:

Unhandled exception when rendering form System.Xml.XmlException: Unexpected
end of file while parsing Name has occurred. Line 1, position 92116.     at
System.Xml.XmlTextReaderImpl.Throw(Exception e)     at
System.Xml.XmlTextReaderImpl.Throw(String res, String arg)     at
System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String arg)     at
System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset,
Int32& colonPos)     at System.Xml.XmlTextReaderImpl.ParseAttributes()     at
System.Xml.XmlTextReaderImpl.ParseElement()     at
System.Xml.XmlTextReaderImpl.ParseElementContent()     at
System.Xml.XmlTextReaderImpl.Read()     at
System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)     at
System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)     at
System.Xml.X...
...mlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace)     at System.Xml.XmlDocument.Load(XmlReader reader)    
at Microsoft.Office.InfoPath.Server.Xml.InfoPathXmlDocument.Load(XmlReader
reader)     at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObject.<>c__DisplayClass3.<.ctor>b__0()
   at
Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean
fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock
catchBlock, FinallyBlock finallyBlock)     at
Microsoft.Office.Server.Diagnostics.ULS.SendWatsonOnExceptionTag(ULSTagID
tagID, ULSCat categoryID, String output, Boolean fRethrowException, TryBlock
tryBlock, CatchBlock catchBlock, FinallyBlock finallyBlock)     at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObject..c...
...tor(EnhancedBinaryReader reader, Solution solution)     at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObjects.<>c__DisplayClass2.<.ctor>b__0(EnhancedBinaryReader
innerReader, DataObject& newObject)     at
Microsoft.Office.InfoPath.Server.Serialization.EnhancedBinaryReader.ReadObjectMap[KeyT,ValueT](Dictionary`2
map, ItemReaderDelegate`1 readKey, ItemReaderDelegate`1 readValue)     at
Microsoft.Office.InfoPath.Server.Serialization.EnhancedBinaryReader.ReadObjectMap[ValueT](Dictionary`2
map, ItemReaderDelegate`1 readValue)     at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObjects..ctor(EnhancedBinaryReader
reader, Solution solution)     at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState.DesterilizeVersion1(EnhancedBinaryReader reader, Solution sol...
...ution)     at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState..ctor(EnhancedBinaryReader
reader, Solution solution)     at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState.CreateFromByteArray(Byte[]
serializedSessionState, Byte[] serializedVersionState, Solution solution)    
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionStateManager.GetSessionState(HttpContext
context, String editingSessionID, Solution solution)     at
Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.LoadFromSession(HttpContext
context, SPSite contextSite, EventLogStart eventLogStart, Solution solution)  
  at
Microsoft.Office.InfoPath.Server.Controls.PostbackPage.<>c__DisplayClass1.<ProcessRequest>b__0()

The IP form has 5 dataconnections. I suspected the issue had to do with one
of the dataconnections and I was able to narrow it down to a particular
SharePoint-list-based dataconnection that returns over 800 items. However,
this is pretty much a dead end as the dataconnection is most definitely
required.

While the issue seems quite popular on several forums and internet groups,
there does not appear to be any definitive resolution or ways to resolve it.

Perhaps you may be able to help out here.

Best regards,

Raphael Iloh.
Raphael Iloh - 29 Oct 2007 13:05 GMT
[A quick addition; I'm not using any special characters in datasource names
and all datasources are DCL...thanks.]

> Hi,
> I've got a browser-compatible IP form that has several views. when the form
[quoted text clipped - 64 lines]
>
> Raphael Iloh.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.