HTTP 405 on Error on HTTP POST IIS ASP .NET

前端 未结 2 1397
时光取名叫无心
时光取名叫无心 2020-12-21 03:52

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 wh

2条回答
  •  执笔经年
    2020-12-21 04:11

    • 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.)

提交回复
热议问题