[Mono-list] mono System.IO.FileSystemWatcher:set_Path problem

Matthew Causey Matthew.Causey at sofsa.mil
Tue Jun 20 11:11:37 EDT 2006


I just installed mod_mono and mono-complete from the mono rug repository 
(mod_mono 1.1.13.5-0.sles9.novell), I changed my httpd.conf file as 
follows: 

Alias /FUNAdmin "/srv/www/htdocs/dnet/FUNAdmin" 
AddMonoApplications default "/FUNAdmin:/srv/www/htdocs/dnet/FUNAdmin" 
<Location /FUNAdmin> 
        SetHandler mono 
        Order deny,allow 
        Deny from all 
        Allow from all 
</Location> 

Alias /FUNDataEntry "/srv/www/htdocs/dnet/FUNDataEntry" 
AddMonoApplications default 
"/FUNDataEntry:/srv/www/htdocs/dnet/FUNDataentry" 
<Location /FUNDataEntry> 
        SetHandler mono 
        Order deny,allow 
        Deny from all 
        Allow from all 
</Location> 

But when I try to run the application, I get: 

Server error in '/FUNDataEntry' application 

Description: Error processing request. 
Error Message: HTTP 500. 
Stack Trace: 
System.ArgumentException: Directory does not exists
Parameter name: value
in <0x0015e> 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 <0x000d2> System.Web.HttpApplicationFactory:GetApplication 
(System.Web.HttpContext context)
in <0x00083> System.Web.HttpRuntime:RealProcessRequest (System.Object o)



This app was developed and is working in a windows .Net 1.1 environment, 
but I don't see how this error can be Windows specific.  Please help. 

mono System.IO.FileSystemWatcher:set_Path problemmono 
System.IO.FileSystemWatcher:set_Path problem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060620/474fb642/attachment.html 


More information about the Mono-list mailing list