ASP.NET MVC 404 handling and IIS7

前端 未结 1 859
轻奢々
轻奢々 2020-12-09 21:40

Good day!

I use strategy to handle 404 errors like this: Error handling for ASP.NET MVC 2 and IIS 7.0 or this: How can I properly handle 404 in ASP.NET MVC?

相关标签:
1条回答
  • 2020-12-09 22:15

    It seems I have fixed it by setting in Web.config:

    <httpErrors existingResponse="PassThrough" />
    
    0 讨论(0)
提交回复
热议问题