[Mono-list] XSP(cvs-latest): Cannot load type on xps test directory

Jackson Harper jackson@ximian.com
Tue, 20 Jan 2004 04:21:39 -0800


It looks like you have an old machine.config file. Make sure to make
install the mono module.

Jackson


On Tue, 2004-01-20 at 04:12, Guy Langston wrote:
> I have build and installed mono/mcs 0.29, and xsp (latest-cvs).
> 
> Running:
> Current Dir: /usr/local/share/doc/xsp/test
> $mono /usr/local/bin/xsp.exe 
> 
> The brower output of http://localhost:8080/ is:
> 
> Server error in '/' application
> Description: Error processing request.
> 
> Error Message:
> 
> Stack Trace:
> 
> System.TypeLoadException: Cannot load type
> 'Mono.Http.Modules.AcceptEncodingModule, Mono.Http'
> in (unmanaged) /usr/local/lib/libmono.so.0(mono_raise_exception+0x1b)
> [0xaac70f]
> in (unmanaged) /usr/local/lib/libmono.so.0 [0xaaf2e1]
> in <0x00056> System.Type:GetType (string,bool)
> in <0x0002c> System.Web.Configuration.ModuleItem:.ctor (string,string)
> in <0x00320> System.Web.Configuration.HttpModulesConfigurationHandler:Create
> (object,object,System.Xml.XmlNode)
> in <0x0015e> System.Configuration.ConfigurationData:GetConfigInternal
> (string)
> in <0x0006b> System.Configuration.ConfigurationData:GetConfig (string)
> in <0x00025> System.Configuration.DefaultConfig:GetConfig (string)
> in <0x0003d> System.Configuration.ConfigurationSettings:GetConfig (string)
> in <0x0000d> System.Web.HttpContext:GetAppConfig (string)
> in <0x00025> System.Web.HttpApplication:InitModules ()
> in <0x0005b> System.Web.HttpApplication:Startup
> (System.Web.HttpContext,System.Web.HttpApplicationState)
> in <0x0007e> System.Web.HttpApplicationFactory:InitializeFactory
> (System.Web.HttpContext)
> in <0x00094> System.Web.HttpApplicationFactory:GetInstance
> (System.Web.HttpContext)
> in <0x0010c> System.Web.HttpRuntime:InternalExecuteRequest
> (System.Web.HttpWorkerRequest)
> 
> I am not sure what I have done incorrectly, or how to proceed? Any help?
> 
> Thanks in advance,
> - Guy
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list