ASP.NET MVC3 / Razor Server Error in "/" Application

I get an intermittent error when I launch an MVC application from Visual Studio. Here is the error:

Server error in application "/".

Resource is not found. Description: HTTP 404. The resource you are looking for (or its dependencies) may have been deleted, its name changed or temporarily unavailable. Review the following URL and make sure it is spelled correctly.

Requested URL: /Views/DDF/Edit.vbhtml


Version Information: Microsoft.NET Framework Version: 4.0.30319; ASP.NET Version: 4.0.30319.225

My default routing is configured as follows:

Shared Sub RegisterRoutes(ByVal routes As RouteCollection)
    routes.IgnoreRoute("{resource}.axd/{*pathInfo}")
    routes.MapRoute( _
        "Default", _
        "{controller}/{action}/{id}", _
        New With {.controller = "DDF", .action = "Index", .id = UrlParameter.Optional} )
End Sub

, , URL- http://localhost:49999/ DDFController . VS URL:

http://localhost:49999/Views/DDF/Edit.vbhtml

, ".vbhtml" URL-, .

, Visual Studio URL- ( vbhtml) ?

+3
2

- (-), , , ( -, - Start Action: ).

- ( , ) , .

, MVC, , " " - ,

Martin

+6

, .

Visual Studio - URL- , . URL- , , , .

+1

All Articles