[Mono-list] XSP: Error
Mark Bakker
mark@dragonfire.nl
Thu, 7 Oct 2004 12:01:29 +0200
Hello,
I want to use asp.net on my AMD 64 server with gentoo linux.
I tried to install mono and xsp.
I tried the 1.1 version of mono and the 1.0.2 version of XSP. I got an error
like below.
Aftert this I did a cvs co and installed everything this way. Now I still have
the error. I got an HTTP 500 and a stacktrace on the xsp console.
Anyone knows something abouw this bug?
Kind regards,
Mark Bakker
Server error in '/' application
Description: Error processing request.
Error Message: HTTP 500.
Stack Trace:
System.Runtime.Remoting.RemotingException: Configuration file
'/usr/local/etc/mono/1.0/machine.config' could not be loaded: Expected
element
in <0x0003c> System.Web.HttpRuntime:OnFirstRequestStart
(System.Web.HttpContext)
in <0x00126> System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)
Adding applications from config file '/usr/share/doc/xsp/test/sample.webapp'
Registering application:
Host: www.dragonfire.nl
Port: 88
Virtual path: /
Physical path: /usr/share/doc/xsp/test
Listening on port: 88
Listening on address: 0.0.0.0
Root directory: /root
Hit Return to stop the server.
System.NullReferenceException: Object reference not set to an instance of an
object
Server stack trace:
in <0x00052> System.Web.HttpRuntime:TryExecuteQueuedRequests ()
in <0x0041d> System.Web.HttpRuntime:FinishRequest
(System.Web.HttpContext,System.Exception)
in <0x00569> System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)
in <0x000ef> System.Web.HttpRuntime:ProcessRequest
(System.Web.HttpWorkerRequest)
in <0x0001f> Mono.ASPNET.MonoWorkerRequest:ProcessRequest ()
in <0x0007b> Mono.ASPNET.BaseApplicationHost:ProcessRequest
(Mono.ASPNET.MonoWorkerRequest)
in <0x0007e> (wrapper remoting-invoke-with-check)
Mono.ASPNET.BaseApplicationHost:ProcessRequest
(Mono.ASPNET.MonoWorkerRequest)
in <0x002f3> Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,string,int,string,int,string,string,string,string,string,byte[],string)
in <0x677ac8c6> (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&)
in <0x0000f> (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&)
in <0x0027a> System.Runtime.Remoting.RemotingServices:InternalExecuteMessage
(System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMessage)
Exception rethrown at [0]:
in <0x6731657b> (wrapper remoting-invoke)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,string,int,string,int,string,string,string,string,string,byte[],string)
in <0x0000f> (wrapper remoting-invoke)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,string,int,string,int,string,string,string,string,string,byte[],string)
in <0x00119> (wrapper remoting-invoke-with-check)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,string,int,string,int,string,string,string,string,string,byte[],string)
in <0x00774> Mono.ASPNET.XSPWorker:Run (object)