Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. 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” issue

Scheduled Pinned Locked Moved ASP.NET
apachesysadminwindows-adminhelp
4 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 13549006
    wrote on last edited by
    #1

    I 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.

    S 1 Reply Last reply
    0
    • U User 13549006

      I 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.

      S Offline
      S Offline
      SeanChupas
      wrote on last edited by
      #2

      Why are you trying to do this?

      U 1 Reply Last reply
      0
      • S SeanChupas

        Why are you trying to do this?

        U Offline
        U Offline
        User 13549006
        wrote on last edited by
        #3

        I try to remover server header IIS8.0

        S 1 Reply Last reply
        0
        • U User 13549006

          I try to remover server header IIS8.0

          S Offline
          S Offline
          SeanChupas
          wrote on last edited by
          #4

          Why?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups