Thursday, August 7, 2008

Unhandled exception when rendering form System.Xml.XmlException: 'something' is an unexpected token. The expected token is '<>'.

if you see something like this in your logs when developing an InfoPath form that is browser enabled in Sharepoint:

Unhandled exception when rendering form System.Xml.XmlException: 'Number' is an unexpected token. The expected token is '='. Line 247, position 673. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)


... then you have a problem with one of your secondary data connections that is or was bound to a field on your form. delete one by one until you find the culprit, and troubleshoot from there.

No comments: