[Pkg-mono-devel] XSP exception

John Parnefjord johnparn@lib.chalmers.se
Tue, 17 Aug 2004 12:50:40 +0200


Hi!

I've installed Mono-XSP on my Debian testing laptop but it doesn't work 
as expected. I've run an earlier version previously without any fuzz, 
but now it just dies after requesting an application.

I've tried different ports in order to avoid conflicts. Requesting the 
root returns:

Not Found
The requested URL / was not found on this server.

So, the server seems to be responding, but when accessing an application 
   nothing happens and the loading times out. To debug I've tried to 
start the server manually but with the same result. An exception occurs 
as soon I try to access any app.


nirvana:/etc/xsp# xsp --port 8080 --appconfigfile debian.webapp 
--address 127.0.0.1
Adding applications from config file 'debian.webapp'
Registering application:
     Host:          any
     Port:          any
     Virtual path:  /monodoc
     Physical path: /usr/share/dotnet/monodoc/web
Listening on port: 8080
Listening on address: 127.0.0.1
Root directory: /etc/xsp
Hit Return to stop the server.

Unhandled Exception: System.NullReferenceException: Object reference not 
set to an instance of an object



Has anyone a clue or experienced the same?


The Mono Framework works like a charm. I've installed the XSP package from:

deb http://pkg-mono.alioth.debian.org/current ./
deb-src http://pkg-mono.alioth.debian.org/current ./


nirvana:/etc/xsp# xsp --version
xsp.exe 0.15.0.0
(c) 2002,2003 Ximian, Inc.
(c) 2003,2004 Novell, Inc.
Minimalistic web server for testing System.Web


By the way, thanks for distributing Mono for Debian!

// John