[Mono-list] Deploying ASP.NET 2.0 to Apache

John Anderson sontek at gmail.com
Sun Nov 5 23:08:42 EST 2006

Hey, I'm trying to deploy an ASP.NET 2.0 Application to an Apache
server on OpenSUSE 10.1 and i'm getting the error:

System.ArgumentException: Invalid data source source type. The data
source must be of type IListSource, IEnumerable or IDataSource.
  at System.Web.UI.WebControls.DataBoundControl.ValidateDataSource
(System.Object dataSource) [0x00000]
  at System.Web.UI.WebControls.BaseDataBoundControl.set_DataSource
(System.Object value) [0x00000]

But i'm binding to an array and I don't get this error running in XSP
or IIS 6.  I'm running Mono 1.1.18   and apache is launching
mod-mono-server2.    I installed mod_mono/mono/etc through rug with
the source from the mono-project.com site and here is the config:

MonoServerPath default /usr/bin/mod-mono-server2
Alias /sontek "/home/sontek/public_html"
AddMonoApplications default "/sontek:/home/sontek/public_html"
<Location /sontek>
    SetHandler mono

Thanks for any help!

More information about the Mono-list mailing list