“This operation requires IIS integrated pipeline mode.”

后端 未结 11 1974
無奈伤痛
無奈伤痛 2020-12-02 19:44

I have a web application being developed on Windows 8.1, .NET 4.5.1, IIS 8.5 (under Integrated AppPool), Visual Studio 2013 over the default template that includes ASP.NET I

相关标签:
11条回答
  • 2020-12-02 20:18

    Press F4 in your Project for the property window. Then change the pipeline mode

    0 讨论(0)
  • 2020-12-02 20:24

    This error means the application pool to which your deployed application belongs is not in Integrated mode.

    1. Create a new application pool with .NET 4 version selected, and Managed Pipeline mode as Integrated.
    2. Change your application's app pool to the above created one and try now.
    0 讨论(0)
  • 2020-12-02 20:30

    Try using Response.AddHeader instead of Response.Headers.Add()

    0 讨论(0)
  • 2020-12-02 20:31

    I resolved this problem by following steps:

    1. Right click on root folder of project.
    2. Goto properties
    3. Click web in left menu
    4. change current port http://localhost:####/
    5. click create virtual directory
    6. Save the changes (ctrl+s)
    7. Run

    may be it help you to.

    0 讨论(0)
  • 2020-12-02 20:33

    Those who are using VS2012

    Goto project > Properties > Web

    Check Use Local IIS Web server

    Check Use IIS Express

    Project Url http://localhost:PORT/

    0 讨论(0)
提交回复
热议问题