[Mono-list] xsp.exe woes, NullReferenceException

Nigel Magnay Nigel Magnay <nigel.magnay@gmail.com>
Sun, 19 Dec 2004 11:19:20 +0000


I'm playing with xsp.exe and something seems to be awry and I'm not
sure how I can get some extra info as to how to diagnose what's
happening.

I'm on Windows; mono installs of 1.0.4 and 1.1.2 (no change)

My asp.net app is built into c:\inetpub\wwwroot by VS.Net, where it
runs fine in IIS.

If I run it under xsp.exe, it dies after serving the main page with no error..
Tacking many --verbose options recovers:

Method Mono.ASPNET.BaseRequestBroker:Flush (int) emitted at 0x016c0068
to 0x016c00a5 [xsp.exe]
Method Mono.ASPNET.XSPWorker:Flush () emitted at 0x016c00a8 to
0x016c00bb [xsp.exe]
Method System.Net.Sockets.NetworkStream:Flush () emitted at 0x016c00c0
to 0x016c00c7 [xsp.exe]
Method System.NullReferenceException:.ctor () emitted at 0x016c00c8 to
0x016c0101 [xsp.exe]

Interestingly, if I turn off forms-based authentication (in
web.config) , I can get a bit further, but it still dies after a page
or so.

Any ideas?