[Mono-aspnet-list] MVC 3 - Error on first site hit

Marek Habersack grendel at twistedcode.net
Fri Apr 8 09:22:10 EDT 2011


On Fri, 8 Apr 2011 09:15:52 -0400
Jeff Zellner <jeff at odyl.net> wrote:

> I ran into this problem running MVC3 on 2.10.1 as well.
> 
> This can be fixed by ensuring the location of your registry
> ($PREFIX/etc/mono/registry I believe) is writable by the mono process.
> 
> (Though it sounds like I should try out Marek's suggestion as well)
Well, my suggestion is a must-follow one :) The .NET assembly will just not work with Mono's
System.Web :)

marek
> 
> -Jeff
> 
> On Fri, Apr 8, 2011 at 9:01 AM, Marek Habersack <grendel at twistedcode.net> wrote:
> > On Fri, 8 Apr 2011 12:54:02 +0000
> > "Daniel J. Summers" <daniel.summers.2415 at gmail.com> wrote:
> >
> >> I've successfully gotten ASP MVC 3 running with Mono 2.10, using the "bin
> >> deploy" technique described at
> >> http://www.hanselman.com/blog/default.aspx?page=11 (as I write this, the
> >> post is at the top of the page; the permalink seems to be broken).  Once the
> >> app is restarted, the first hit returns an error.  After that, it flies!  :)
> > [snip]
> >> Any ideas?
> > You must not use the .NET version of Microsoft.Web.Infrastructure on Mono. Remove it from bin/
> > and rely upon what is in Mono's GAC.
> >
> > marek
> >
> >
> > _______________________________________________
> > Mono-aspnet-list mailing list
> > Mono-aspnet-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
> >
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



More information about the Mono-aspnet-list mailing list