Web API的发布问题

配置“ISAPI 和 CGI 限制”的4.0版本设置为允许,要不然出现“由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面。”的错误。

“An error has occurred.Multiple actions were found that match the request”,这个错误信息是Web API的路由没有配置好,要检查下。

“Response status code does not indicate success: 404 (Not Found)”,这个错误信息也是路由问题。

“Response status code does not indicate success: 500 (Internal Server Error).”,这个是服务器问题,也就是Web API的代码问题

 

posted @ 2016-03-23 14:36  J.Y  阅读(612)  评论(0编辑  收藏  举报