关于HTTP POST IIS ASP .NET错误HTTP 405 [英] HTTP 405 on Error on HTTP POST IIS ASP .NET

查看:1668
本文介绍了关于HTTP POST IIS ASP .NET错误HTTP 405的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从另一个,外部应用程序引用的Web应用程序。外部应用程序试图做一个 POST VDIR 打开时。在这一点上,我得到一个HTTP 405错误:

I'm working on a web application that is referenced from another, external application. The external application tries to do a POST on the vdir when opening. At this point, I get an HTTP 405 Error:

HTTP错误405 - 用来访问本页面的HTTP动词是不允许的。
  Internet信息服务(IIS)

HTTP Error 405 - The HTTP verb used to access this page is not allowed. Internet Information Services (IIS)

我查了一下IIS事件日志中,我看到,外部应用程序试图张贴,但我不能为目录更改权限,因为我需要一个扩展。

I checked the IIS event logs and I see that the external application tries to post, but I can't change permissions for a directory, since I need an extension.

任何想法?

推荐答案


  • 确保你包括在后URL的网页文件名(HTTP://yoursite/app/Page.aspx而不是的http:// yoursite /应用

  • 您可能需要明确允许的帖子送到你的网页的文件类型。请参见这里如何做到这一点在IIS中的说明。 (这些说明是针对IIS 6对于IIS 7干脆去处理程序映射,单击编辑相应的条目,点击请求限制按钮,然后转到动词标签。​​)

  • Make sure you are including the web page file name in the post URL (http://yoursite/app/Page.aspx instead of http://yoursite/app)
  • You may need to explicitly allow POSTs to the file type of your web page. See here for instructions of how to do it in IIS. (Those instructions are for IIS 6. For IIS 7 simply go to Handler Mappings, click Edit for the appropriate entry, click the Request Restrictions button, then go to the Verbs tab.)
  • 这篇关于关于HTTP POST IIS ASP .NET错误HTTP 405的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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