MVC 5 작동하지 않습니다하지만 HandleErrorAttribute 내가 ASP.NET MVC 5 일 HandleErrorAttribut를 만들기 위해 노력하고
을 작동하지 않습니다.namespace WebApplication12
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RouteConfig.RegisterRoutes(RouteTable.Routes);
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
}
}
}
와의 Web.config를 asax
<system.web>
<customErrors mode="On" defaultRedirect="~/Views/Errorrr.cshtml">
</customErrors>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
</system.web>
,363,210
그리고 아직도 기본적으로
루시아
도움 주셔서 감사합니다. 작동하지 않습니다. – Lucy