原文:ASP.Net WebAPI HttpDelete/PUT方法运行或发布到生产服务器上后出现405(Method Not Allowed)错误的解决办法 本文只是个人的理解和学习记录,如果觉得本文写的业余或者表达不清楚,可以直接去参考这里. 最近在写ASP.NET的WebAPI,但是在使用HttpDelete方法的时候,总是碰到405的错误,也就是Method Not Allowed. 实际上接口方法前面加上了正确的HttpDelete谓词,现在依然提示405.想看解决方案可以直接…
总结列表: 1. There is already an open DataReader associated with this Connection which must be closed first 2. npm install 失败 3. WebApi HTTP Put 405 Method not allowed 服务器升级了IIS,WebApi项目的put接口全部报405 搜索发现解决方案不少,尝试了张善友博客给出的解决方案,问题解决. IIS7.5上的REST服务的Put操作发生…