PUT and DELETE returns 404 for asp.net webapi in Windows 2008 Server IIS 7 and 7.5

后端 未结 4 722
情书的邮戳
情书的邮戳 2021-01-18 07:03

I run into 500 - Internal Server Error when PUT/DELETE with windows 2008 server IIS. The response I get is:



        
4条回答
  •  轮回少年
    2021-01-18 07:39

    Try turning on custom error by adding

    
    

    You will see the actual cause of the 500 error when you browse to the API controller, e.g.: http://staging.site.com/api/book.

    You will find more clues from the actual exception messages.

提交回复
热议问题