[Mono-list] Microsoft.Web.UI.WebControl sample failure

Dennis Boylan mono@b-lan.com
Tue, 29 Jun 2004 17:28:00 -0400


Trying to figure things out with porting our .Net application over to MONO,
I figured I would take a step back and try running the sample applications
for Microsoft.Web.UI.WebControls.  I can get the tabstrip and treeview to
run, but I can't get treeview_bound to function.  It is dying in System.XML.
At first I thought it might be that the sample file did not have an xml
version, but adding it did not change it's behavior.

Server error in '/' application
Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

System.Xml.XmlException: Text node cannot appear in this state. Line 1, position 0.
in <0x00050> System.Xml.XmlTextReader:ReadText (bool)
in <0x00204> System.Xml.XmlTextReader:ReadContent ()
in <0x0018e> System.Xml.XmlTextReader:Read ()
in <0x000a5> Microsoft.Web.UI.WebControls.TreeView:ReadXmlSrc (string,string,string)
in <0x00098> Microsoft.Web.UI.WebControls.TreeNode:ReadXmlSrc ()
in <0x00058> Microsoft.Web.UI.WebControls.TreeNode:Databind ()
in <0x00027> Microsoft.Web.UI.WebControls.TreeNode:OnInit ()
in <0x0010f> Microsoft.Web.UI.WebControls.TreeView:OnInit (System.EventArgs)
in <0x00273> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
in <0x00185> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
in <0x00185> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
in <0x00060> System.Web.UI.Page:InternalProcessRequest ()
in <0x000c2> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x002f3> ExecuteHandlerState:Execute ()
in <0x00084> StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)

- Dennis