本文介绍了HTTP错误405.0-不允许方法IIS 7.5模块staticfilemodule的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我在这里遇到了一个似乎无法找到解决方案的问题.我有一个要在IIS 7.5中部署的表单,执行脚本时出现以下错误...

I have ran into an issue here that I can not seem to find a solutions for. I have a form that I am trying to deploy in IIS 7.5 and when I execute my script I get the following error...

Error Summary
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method
(HTTP verb) is being used.
Detailed Error Information
Module  StaticFileModule
Notification    ExecuteRequestHandler
Handler StaticFile
Error Code  0x80070001
Requested URL   http://localhost:80/Address.php
Physical Path   C:\inetpub\wwwroot\Address.php
Logon Method    Anonymous
Logon User  Anonymous

我已经在阳光下尝试了一切.我删除了WebDavmodule ....我已将POST动词添加到StaticFile模块中....我已在动词"选项卡下选择了所有动词.我已启用CGI.exe文件...也已启用ISAPI模块.我已经阅读了许多有关此问题的文章,似乎很多人都遇到了这些问题,他们没有找到真正的解决方案.如果有人可以提供任何信息来帮助我获得通过,我将不胜感激.另外,我检查了服务器日志文件.它们如下...

I have tried everything under the sun. I have deleted the WebDavmodule....I have added the POST verb to the StaticFile Module....I have selected all verbs under the verbs tab. I have enabled the CGI.exe file...also I enabled the ISAPI module. I have read numerous articles on the issue and it seems a lot of people are having these issues and they didn't find a real fix for it. If there is any information someone could provide to help me get passed this I would be more than thankful. In addition, I checked the server log files. They are as follows...

#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2015-04-08 13:33:24
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2015-04-08 13:33:24 ::1 GET /validation_data.js 233 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 200 0 0 171
2015-04-08 13:33:48 ::1 POST /Address.php - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 405 0 1 3
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2015-04-08 13:48:12
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2015-04-08 13:48:12 ::1 GET /indv/ - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 403 14 0 17
2015-04-08 13:48:54 ::1 GET /Address.html - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 304 0 0 1
2015-04-08 13:48:54 ::1 GET /validation_data.js 341 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 200 0 0 25
2015-04-08 13:49:21 ::1 POST /Address.php - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 405 0 1 2
2015-04-08 13:49:48 ::1 GET /validation_data.js 787 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 200 0 0 33
2015-04-08 13:50:12 ::1 POST /Address.php - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 405 0 1 3

推荐答案

好.我不再收到错误了.这就是我所做的.我为IIS 7.5 64位安装了PHP Manger.之后,我安装了Visual Studio 2012 Update 4的Visual C ++ Redistributable,可以在此处下载 http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30679

Ok. I am not getting the error anymore. This is what I did. I installed PHP Manger for IIS 7.5 64bit. After that I installed Visual C++ Redistributable for Visual Studio 2012 Update 4, which can be downloaded here http://www.microsoft.com/en-us/download/confirmation.aspx?id=30679!

这篇关于HTTP错误405.0-不允许方法IIS 7.5模块staticfilemodule的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 12:32