Setting detailed/customer error messages issues, iis7 asp classic

后端 未结 2 1398
南旧
南旧 2021-01-26 10:01

I haven\'t been able to find a similar problem anywhere. Basically when I set the site to custom errors it displays the default 500 error message, however when I then set it to

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-26 10:27

    By default IIS7 intercepts HTTP status codes such as 4xx and 5xx generated by applications further up the pipeline.

    In web.config replace the line

    
    

    with

    
    

提交回复
热议问题