[Mono-list] asp.net mvc ArgumentNullException

Daniel Hughes trampster at gmail.com
Tue Dec 18 11:32:05 UTC 2012

I have an asp.net mvc application which I am trying to get running on
ubuntu 12.04 server, with apache and mod mono

When I try and access the site I get and Internal Server Error

my apache error.log contains the following:

Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/.mod_mono_server2
Root directory: /
System.ArgumentNullException: Argument cannot be null.
Parameter name: path
  at System.IO.FileSystemInfo.CheckPath (System.String path) [0x00000] in
<filename unknown>:0
  at System.IO.DirectoryInfo..ctor (System.String path, Boolean
simpleOriginalPath) [0x00000] in <filename unknown>:0
  at System.IO.DirectoryInfo..ctor (System.String path) [0x00000] in
<filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:.ctor
  at Mono.WebServer.ModMonoWorker.GetOrCreateApplication (System.String
vhost, Int32 port, System.String filepath, System.String virt) [0x00000] in
<filename unknown>:0
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
in <filename unknown>:0
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000] in
<filename unknown>:0
[Wed Dec 19 00:01:00 2012] [error] (70014)End of file found: read_data

I have configured mod mono to use AutoConfiguration with
ForceType application/x-asp-net
I know this is not recommended but I just want to get something working.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121219/4197b0c4/attachment.html>

More information about the Mono-list mailing list