经典模式下,ASP.NET中才能继承IHttpHandler并实现ProcessRequest方法,如果在集成模式中使用,会报错The HttpRuntime.ProcessRequest method is not supported by IIS integrated mode.
经典模式下,ASP.NET中才能使用Page.Request,否则会报错Request is not available in this context
经典模式下,在对应的asp.net程序的web.config中,httpModule模块和httpHandler处理程序节点在system.web下面,否则会报错。集成模式下,在对应的asp.net程序的web.config中,httpModule模块和httpHandler处理程序节点在system.webServer下面,否则会报错HTTP Error 500.22 - Internal Server Error,An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode,让你迁移到新的节点下,或者切换到Classic模式。
经典模式下,在对应的asp.net程序的web.config中,httpModule模块和httpHandler处理程序节点在system.web下面,否则会报错。集成模式下,在对应的asp.net程序的web.config中,httpModule模块和httpHandler处理程序节点在system.webServer下面,否则会报错HTTP Error 500.22 - Internal Server Error,An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode,让你迁移到新的节点下,或者切换到Classic模式。