[Mono-aspnet-list] mvc hosting & xsp2 errors?

Doug douglas.linder at gmail.com
Mon May 9 02:12:34 EDT 2011


The problem seems to be that xsp2 is simply serving files.

Ie. If you request localhost:8080/default.aspx, it tries to load and run
default.aspx in the current directory.

This is completely the incorrect behaviour for an MVC application; the
routing should be loaded from the class that extends
System.Web.HttpApplication, typically in Global.asax.cs.

I can't find any information about how to actually host an mvc application;
everything seems to assume we're still working in the asp world where url ->
file is a 1 to 1 relationship. :/

~
Doug.

On Sat, May 7, 2011 at 12:43 AM, Daniel J. Summers <
daniel.summers.2415 at gmail.com> wrote:

> On Thu, May 5, 2011 at 10:10 PM, Doug <douglas.linder at gmail.com> wrote:
>
>> HTTP request sent, awaiting response... 500 Internal Server Error
>> 2011-05-06 03:54:44 ERROR 500: Internal Server Error.
>>
>> So... what now?
>>
>> How can I see whats wrong?
>>
>
> In Web.Config, look for the customErrors tag, and set it to "Off".  That'll
> show you the details behind the 500, which will get you started.
>
> --
> *Daniel J. Summers*
> *Owner, DJS Consulting*
> E-mail <daniel.summers.2415 at gmail.com> • Website<http://djs-consulting.com>
>  • Support <http://support.djs-consulting.com> • Tech Blog<http://techblog.djs-consulting.com>
>
> GEEKCODE 3.12 GCS/IT d s-:+ a C++ P--- L++ E--- W++ N++ o? K- w !O M--
> V PS+ PE++ Y? PGP- t+ 5? X+ R* tv b+ DI++ D+ G- e<++ h---- r+++ y++++
>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20110509/d005f41b/attachment.html 


More information about the Mono-aspnet-list mailing list