“405 method not allowed” in IIS7.5 for “PUT” method

后端 未结 20 2246
情深已故
情深已故 2020-11-28 02:15

I use WebClient type to upload *.cab files to my server. On the server side, I registered a HTTP handler for *.cab file with the PUT method as below:



        
20条回答
  •  甜味超标
    2020-11-28 02:48

    I had this problem with WebDAV when hosting a MVC4 WebApi Project. I got around it by adding this line to the web.config:

    
      
      
    
    

    As explained here: http://evolutionarydeveloper.blogspot.co.uk/2012/07/method-not-allowed-405-on-iis7-website.html

提交回复
热议问题