[Mono-list] Xsp in standalone amd mod_mono

Shawn Vose svose@programmerforrent.com
Tue, 18 May 2004 10:00:40 -0400


For some reason I am not able to service aspx pages in my apache 2.0. I
have the conf file configured correctly but I think the problem is with
xsp as I am having a problem getting xsp to service request.

Specifically it is returning a 500 error

to start xsp I am using the following command

$ mono /usr/local/bin/xsp.exe --port 8080 --root .

Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: /usr/share/doc/xsp/test
Hit Return to stop the server.
Compat mode: the request from /usr/share/doc/xsp/test/bin/extensions.dll to load System.Web.Services was remapped (http://www.go-mono.com/remap.html)


Then when I request index.aspx I get the following


System.TypeLoadException: Cannot load type
'Mono.Http.Modules.AcceptEncodingModule, Mono.Http'
in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x20) [0x400bcad8]
in (unmanaged) /usr/lib/libmono.so.0 [0x400c0352]
in <0x00054> System.Type:GetType (string,bool)
in <0x0002c> System.Web.Configuration.ModuleItem:.ctor (string,string)
in <0x002f2> System.Web.Configuration.HttpModulesConfigurationHandler:Create (object,object,System.Xml.XmlNode)
in <0x001c0> System.Web.Configuration.ConfigurationData:GetConfigInternal (string,System.Web.HttpContext,bool)
in <0x0008b> System.Web.Configuration.ConfigurationData:GetConfigOptLocation (string,System.Web.HttpContext,bool)
in <0x002fe> System.Web.Configuration.ConfigurationData:GetConfig (string,System.Web.HttpContext)
in <0x00125> System.Web.Configuration.ConfigurationData:GetConfigInternal (string,System.Web.HttpContext,bool)
in <0x0008b> System.Web.Configuration.ConfigurationData:GetConfigOptLocation (string,System.Web.HttpContext,bool)
in <0x002fe> System.Web.Configuration.ConfigurationData:GetConfig (string,System.Web.HttpContext)
in <0x00079> System.Web.Configuration.WebDefaultConfig:GetConfig (string,System.Web.HttpContext)
in <0x00030> System.Web.Configuration.WebDefaultConfig:GetConfig (string)
in <0x00016> System.Web.Configuration.WebConfigurationSettings:GetConfig (string)
in <0x0000b> System.Web.HttpContext:GetAppConfig (string)
in <0x00025> System.Web.HttpApplication:InitModules ()
in <0x00054> System.Web.HttpApplication:Startup (System.Web.HttpContext,System.Web.HttpApplicationState)
in <0x0007e> System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext)
in <0x00073> System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)
in <0x00132> System.Web.HttpRuntime:InternalExecuteRequest (System.Web.HttpWorkerRequest)