Lỗi:
Khi ASP.NET Web server không hỗ trợ chế độ FriendlyUrl
Khắc phục:
Comment tất cả các dòng trong RegisterRoutes(…) phương thức của lớp RouteConfig.cs
public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
//var settings = new FriendlyUrlSettings();
//settings.AutoRedirectMode = RedirectMode.Permanent;
//routes.EnableFriendlyUrls(settings);
}
}