I try to remover server header IIS8.0
U
User 13549006
@User 13549006
Posts
-
Response.Headers.Remove(“Server”) does not work in global.Asax. when run project show “This operation requires IIS integrated pipeline mode” issue -
Response.Headers.Remove(“Server”) does not work in global.Asax. when run project show “This operation requires IIS integrated pipeline mode” issueI try to remove Server header IIS8.0 . I use below code in Global.Asax. protected void Application_PreSendRequestHeaders() { this.Response.Headers.Remove("Server"); Response.AddHeader("Server", "My httpd server"); } and i use below code in web.config [httpRuntime maxRequestLength="50000" requestValidationMode="2.0" enableVersionHeader="false"] when I run the project I see below issue "This operation requires IIS integrated pipeline mode" Although Manage Pipeline mode is integrated mode.