views:

360

answers:

1

Take a new MVC App, then code:

routes.MapRoute("a", "a/{id}", new {controller = "Home", action = "A"});
public ActionResult A(string id)
{
    return Content(id);
}

Going to http://localhost/a/sdfdgh results in:

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

Module IIS Web Core

Notification BeginRequest

Handler Not yet determined

Error Code 0x80070002

Config Error Unrecognized configuration path 'MACHINE/WEBROOT/APPHOST/abc/a/sdfdgh'

Requested URL http://localhost:80/a/sdfdgh

Physical Path C:\abc\a\sdfdgh

Logon Method Not yet determined

Logon User Not yet determined


i have no idea why!

A: 

Not sure if it will help, but have your read this tutorial?

fretje
it does not help.
usr