我已经设置了自定义错误页上使用自定义错误页MVC3
<customErrors mode="RemoteOnly" defaultRedirect="~/Error">
<error statusCode="500" redirect="~/Error/InternalError"/>
<error statusCode="404" redirect="~/Error/FileNotFound"/>
<error statusCode="403" redirect="~/Error/AccessDenied"/>
</customErrors>
我的网站但没有网站,供应商上的另一个区域,而当发生错误供应商地区的重定向转到供应商/错误/ _。由于我在这里没有任何错误页面,站点似乎挂起从不显示错误页面。我如何解决这个问题,而不必将错误页面复制到供应商区域?
在供应商方面的意见文件夹,添加的customErrors到Web.config – Martin
看看这有助于HTTP://计算器.COM /问题/ 5226791 /自定义错误页上-ASP净MVC3 –