20080511 http 405 Method Not Allowed
安装PHPmotion时遇到问题: 经过搜索发现如下解决方法:
在Application mapping中添加.htm和.html文件类型,不管用。 同样的叶面在WinXP+IIS5.1上也曾有问题,只是提示是 Your problem is in the web server setup. If you're using IIS, go to the If you're using Apache, there should be something similar in you Even after uninstalling and reinstalling the .NET 2.0 and .NET 3.0 runtimes in the order indicated in your response, the same error occurs. My environment details are as follows: Should some config steps be carried out after reinstallation for the app connect to work.
1. Updated scriptmaps in IIS 5.1 to recognize the svc extension by using servicemodelreg.exe in 3.0 runtime installation directory URL: http://msdn2.microsoft.com/en-us/windowsvista/bb188202.aspx 2. Used winhttpcertcfg to provide access to ASPNET account for the two certificates UASampleClient and UASampleServer URL: http://support.microsoft.com/default.aspx?scid=kb;EN-US;901183 After these two steps, the Sample Client can connect to the Server and launch the UA Server hosted on IIS. At this point in time, this thread can be closed 我在asp.net环境下要调用一些asp文件去处理,当我用html表单post提交给asp处理里 “/web”应用程序中的服务器错误。 不允许用于访问路径“/web/play/play.asp”的 HTTP 谓词 POST。 从据库中调用数据传到客户端 /*Method:*/ 不允许用于访问路径“/Project/Manager/index.htm”的 HTTP 谓词 POST。 异常详细信息: System.Web.HttpException: 不允许用于访问路径“/Project/Manager/index.htm”的 HTTP 谓词 POST。 http://www.somacon.com/p126.php 1. Go into command prompt .
so I run in the command line: aspnet_regiis -i which registered my server with ASPX It's hard to say without knowing your Request URL. But based on what you're saying, i'm guessing you did a POST with a url www.mysite.com/folder/ ... so in this case you'll need to make sure that your isapi extension is the first item in the default document setting for that virtual directory (as this KB article alludes to http://support.microsoft.com/kb/216493 ). In IIS6, this should work. If you're posting directly to the ISAPI extension (for example: www.mysite.com/folder/myisapi.dll ) then something is wrong with the configuration (pasting a metabase.xml snippet would help). 今天把用.NET做的网站发布成功以后,在IIS中运行,结果就出现了几个鲜红的大字“访问IIS元数据失败”这是怎么回事?发布之前很正常啊。呵呵!那就百度一下了。 互联网真是高手如云啊!终于找到了我所出现的这种错误。原来是因为我先安装的VS 2005,后安装的IIS才出现的。还真是啊! 解决办法如下: 字体:大 中 小 |
![]() | 永久地址 http://www.shengfang.org/blog/p/20080511http405MethodNotAllowed.php |
![]() | 引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1233198173 |
2009年1月29日11:02星期四 [RAN乱]





