ASP.NET Web API - PUT & DELETE Verbs Not Allowed - IIS 8

前端 未结 19 2207
Happy的楠姐
Happy的楠姐 2020-11-22 05:16

I recently upgraded from Visual Studio 2010 to the Visual Studio 2012 RC. The installer also installs IIS 8 Express which Visual Studio now uses as the default web server.

19条回答
  •  执笔经年
    2020-11-22 06:13

    In IIS 8.5/ Windows 2012R2, Nothing mentioned here worked for me. I don't know what is meant by Removing WebDAV but that didn't solve the issue for me.

    What helped me is the below steps;

    1. I went to IIS manager.
    2. In the left panel selected the site.
    3. In the left working area, selected the WebDAV, Opened it double clicking.
    4. In the right most panel, disabled it.

    Now everything is working.

提交回复
热议问题