Runtime error when home page deleted


Delete home page
run app from visual studio
get run-time error

file attachments

Closed Oct 9, 2014 at 7:49 PM by sebastienros


Piedone wrote Apr 9, 2014 at 11:45 AM

You should get the standard IIS 404. This is what you see or something else?

sonminhdao wrote Apr 10, 2014 at 12:03 AM

Yea that's what I got

Please look at screenshot

urbanit wrote Apr 10, 2014 at 8:38 AM

You got IIS 404. It is not so strange behavior.

Piedone wrote Apr 10, 2014 at 9:59 AM

This is how this works. One could argue that instead we should present a pretty 404 but I think not having a home page is a real error and since it shouldn't happen unless somebody messes up something there is little value in dealing with this.

AimOrchard wrote Apr 10, 2014 at 10:28 AM

I do think we need a 'pretty' 404 that just tells you that no homepage has been configured.

This to aid the 'noob' user that does not understand what is going on.