Is 500.100 error only raised by classic ASP page or also by ASP.NET?

痴心易碎 提交于 2019-12-11 13:35:27

问题


I have a website that contains both classic ASP and ASP.NET pages. I have ELMAH taking care of ASP.NET errors. To take care of classic ASP errors, I was thinking of including an error page setting for 500.100 error code in IIS 7 'Error Pages' settings so a URL of '/Error.asp' gets executed when 500.100 error occurs. My question is: will this setting cause server-side errors raised in ASP.NET pages to also get redirected to /Error.asp?


回答1:


500.100 is raised by classic ASP only: http://support.microsoft.com/kb/255650



来源:https://stackoverflow.com/questions/9351205/is-500-100-error-only-raised-by-classic-asp-page-or-also-by-asp-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!