Ich änderte meine global.asax Routen wie folgt registrieren: Public Class MvcApplicationHosting asp.net MVC auf IIS6
Inherits System.Web.HttpApplication
Shared Sub RegisterRoutes(ByVal routes As RouteCollection)
routes.IgnoreRoute("{resource}.axd/{*pathInfo}")
' MapRoute takes the following parameters, in order:
' (1) Route name
' (2) URL with parameters
' (3) Parameter defaults
routes.MapRoute(_
"Default", _
"{controller}.aspx/{action}/{id}", _
New With {.controller = "Home", .action = "Index", .id = ""} _
)
routes.MapRoute(_
"Root", _
"", _
New With {.controller = "Home", .action = "Index", .id = ""} _
)
End Sub
Sub Application_Start()
RegisterRoutes(RouteTable.Routes)
End Sub
End Class
alles funktioniert gut, aber die Wurzelpfad (www.mysite.com) nicht Arbeit und ich bekomme einen Fehler wie: "Die Website lehnte ab, um diese Webseite HTTP 403 zu zeigen"
Wie kann ich das loswerden ??