[Mono-list] Directory Not Found Exception?

Will Twomey termina at gmail.com
Thu Nov 17 08:20:29 EST 2005


When I try to load a simple ASP.NET page (a hello world page), I get this error:

Directory not found
Description: Error processing request.

Error Message: HTTP 404. Directory not found

Stack Trace:

System.IO.DirectoryNotFoundException: Directory
'/file:/home/intimidat0r/public_html' not found.
in <0x00242> System.IO.StreamReader:.ctor (System.String path,
System.Text.Encoding encoding, Boolean detect_encoding_from_bytemarks,
Int32 buffer_size)
in <0x00017> System.IO.StreamReader:.ctor (System.String path,
System.Text.Encoding encoding)
in (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor
(string,System.Text.Encoding)
in <0x0003c> System.Web.Compilation.AspGenerator:InitParser
(System.String filename)
in <0x000c9> System.Web.Compilation.AspGenerator:GetCompiledType ()
in <0x00029> System.Web.UI.PageParser:CompileIntoType ()
in <0x00011> System.Web.UI.TemplateControlParser:GetCompiledInstance ()
in <0x00035> System.Web.UI.PageParser:GetCompiledPageInstance
(System.String virtualPath, System.String inputFile,
System.Web.HttpContext context)
in <0x00010> System.Web.UI.PageHandlerFactory:GetHandler
(System.Web.HttpContext context, System.String requestType,
System.String url, System.String path)
in <0x001e1> System.Web.HttpApplication:GetHandler
(System.Web.HttpContext context)
in <0x00888> System.Web.HttpApplication+<Pipeline>__1:MoveNext ()

error_log shows:

final_pdir: /home/intimidat0r/public_html final_vdir: /~intimidat0r

httpd.conf (so regular users can run asp.net pages)

Include /usr/local/apache2/conf/mod_mono.conf
MonoAutoApplication enabled


More information about the Mono-list mailing list