405-不允许使用用于访问此页面的HTTP动词. [IIS 8.5] [Windows Server 2012 R2] [英] 405 - HTTP verb used to access this page is not allowed. [IIS 8.5] [Windows Server 2012 R2]

查看:144
本文介绍了405-不允许使用用于访问此页面的HTTP动词. [IIS 8.5] [Windows Server 2012 R2]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个新的iis服务器,并且有一段时间我正在寻找错误的解决方案:

I have got a new iis server and from a while i am finding solution for error :

405-不允许使用用于访问此页面的HTTP动词.您的页面 由于无效的方法(HTTP 动词)用于尝试访问.

405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

我看到了以下解决方案:
1.

I have seen below solutions:
1.

 <system.webServer>
    <modules>
        <remove name="WebDAVModule" />
    </modules>
    <handlers>
        <remove name="WebDAV" />
    </handlers>
</system.webServer>


2. IIS设置 http://www.somacon.com/p126.php


2. IIS Settings http://www.somacon.com/p126.php

解决方案1,导致内部服务器错误,后来无法找到解决方案. 解决方案2,我无法在iis 8.5中找到属性"窗口,因此无法尝试相同的操作.

Solution 1, causes Internal server error and later unable to find the solution. Solution 2, i am unable to find Property window in iis 8.5, so unable to try the same.

请帮助

推荐答案

尝试第一个解决方案时,我也遇到了相同的内部服务器错误,如

I also had the same internal server error when attempting the first solution, described at HTTP 405 error with Web API. Since I wasn't even using WebDAV, I opted to remove it entirely from IIS (see screenshot below). After a required server restart, the problem was resolved.

这篇关于405-不允许使用用于访问此页面的HTTP动词. [IIS 8.5] [Windows Server 2012 R2]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆