HTTP错误405.0 - 不允许的方法 [英] HTTP Error 405.0 - Method Not Allowed
问题描述
我们在Windows上的Web Server2008的R2运行时部署一个站点asp.net 1.1独立的计算机上IIS 7.5。它是在2003机器上完美的工作。 2008年机是一个让下面的麻烦;
We are deploying one site asp.net 1.1 on Windows Web Server2008 R2 running IIS 7.5 on standalone PC. it is working perfectly on the 2003 machine. The 2008 machine is the one giving below trouble;
我们越来越以下错误信息:
We are getting below error message:
HTTP错误405.0 - 不允许的方法
因为正在使用无效的方法(HTTP动词)是无法显示您正在查找的页面。
模块:StaticFileModule
通知:ExecuteRequestHandler
处理程序:StaticFile
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. Module: StaticFileModule Notification: ExecuteRequestHandler Handler: StaticFile
1)。我们在对的StaticFile处理程序请求的权限添加的'POST'动词。
1.) We have added the 'POST' verb in to the request permissions on the StaticFile Handler.
2)。<一href=\"http://stackoverflow.com/questions/1400210/what-causes-an-http-405-invalid-method-http-verb-error-when-posting-a-form-t\">What导致HTTP 405&QUOT;无效的方法(HTTP动词)&QUOT;发布错误当窗体到PHP在IIS上?
我们试图从其他论坛上提出各种建议,但没有工作过,我真的AP preciate一些帮助。
2.) What causes an HTTP 405 "invalid method (HTTP verb)" error when POSTing a form to PHP on IIS? We have tried various suggestions from other forums but none have worked, i would really appreciate some help
推荐答案
如果您的站点使用JSON对象和请求的URL,是*以.json文件,请执行以下操作:
If your site uses JSON objects and the "Requested URL" is a *.json file, do the following:
的http:// www.ui press.com /加JSON的处理程序支持 - 在IIS-7 /#。UT_bw9aOR8E
这篇关于HTTP错误405.0 - 不允许的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!