0

Hello.

I right-clicked on a a view (Views/input/index.vbhtml) and chose "set as start page".
But it always gave me an error on the browser (The resource cannot be found.)

I have to manually enter the url localhost:xxxxx/input/index for it to work.

I've already checked routeconfig.vb and it's ok

routes.MapRoute(
            name:="Default",
            url:="{controller}/{action}/{id}",
            defaults:=New With {.controller = "input", .action = "index", .id = UrlParameter.Optional}

Where can I correct this once and for all?

thanks

Edited by happygeek: moved

1
Contributor
1
Reply
9
Views
2 Years
Discussion Span
Last Post by nosfa
0

found it.

project -> properties -> web
[has to be current page, this way routeconfig is respected]

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.