[Mono-list] MonoAutoApplication 500 error: Directory does not exists

Stephen Roller me at stephenroller.com
Wed Jan 18 23:17:02 EST 2006


I installed xsp 1.1.13/mod_mono 1.1.13 on my Apache 2.0.54 configuration. 
I've had experience with setting up ASP.NET applications through the old
style, but I was really looking forward to the wonderful idea of
AutoConfiguration.  So I included the standard, distributed mod_mono.conf
in my configuration.  Now, whenever I try to use a zeroconf'd ASP.NET
application, I get a simple server error:

Description: Error processing request.
Error Message: HTTP 500.
Stack Trace:

System.ArgumentException: Directory does not exists
Parameter name: value
in <0x00120> System.IO.FileSystemWatcher:set_Path (System.String value)
in (wrapper remoting-invoke-with-check)
System.IO.FileSystemWatcher:set_Path (string)
in <0x00049> System.Web.HttpApplicationFactory:CreateWatcher
(System.String file, System.IO.FileSystemEventHandler hnd)
in <0x000f0> System.Web.HttpApplicationFactory:InitializeFactory
(System.Web.HttpContext context)
in <0x0006e> System.Web.HttpApplicationFactory:GetInstance
(System.Web.HttpContext context)
in <0x000e6> System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest request)

Checking the error log renders me with:
final_pdir: /home/stephen/public_html final_vdir: /

Both my pdir and my vdir as displayed here definitely appear correct;
/home/stephen/public_html exists and is mapped to /.
This error was created by touching an test.aspx file in my public_html/. 
Similarly, if I attempt to use nGalleryWeb, I get the same error with an
error of
final_pdir: /home/stephen/public_html/nGalleryWeb final_vdir: /nGalleryWeb
(Also correct).

Any ideas?  I spent a while trying to figure out a way to get verbose
output from mod_mono without recompiling/reinstalling, but to no luck.  If
anyone knows an easy way to get verbose output from mod-mono-server.exe,
I'll do that before trying anything else.



More information about the Mono-list mailing list