Mono, xsp2 and CslaDataSource object

Mono, xsp2 and CslaDataSource object

Old forum URL: forums.lhotka.net/forums/t/3144.aspx


d3vil posted on Thursday, July 05, 2007

Hello all,
I'm trying to run CSLA.Net on mono (so far the BO is working great).
the problems appear when trying to run the ASP.NET website UI.

when putting CslaDataSource on a page I'm getting the following execption:

Description: Error processing request.

Error Message: HTTP 500. System.Web.HttpException: Control 'dsStatuses' does not allow children.

Stack Trace:

System.Web.HttpException: Control 'dsStatuses' does not allow children.
at System.Web.UI.EmptyControlCollection.Add (System.Web.UI.Control child) [0x00000]
at System.Web.UI.Control.AddParsedSubObject (System.Object obj) [0x00000]
at System.Web.UI.Control.System.Web.UI.IParserAccessor.AddParsedSubObject (System.Object obj) [0x00000]
at ASP.test_aspx.__BuildControl_dsStatuses () [0x00000]
at ASP.test_aspx.__BuildControl_form1 () [0x00000]
at ASP.test_aspx.__BuildControlTree (ASP.test_aspx __ctrl) [0x00000]
at ASP.test_aspx.FrameworkInitialize () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated5.MoveNext () [0x00000]
when converting the CslaDatasource to ObjectDataSoruce (just to see if this is general problem of mono's way of handling DataSourceControl) the page render just fine.

i'm not very good web programmer so my understating of asp.net is very basic.
does any one already stumbled upon this problem, or can help me solve it?

10x,
d3vil.

Copyright (c) Marimer LLC