SharePoint Debug - Failed to load resource: the server responded with a status of 500
2014-03-10 14:54
836 查看
今天使用Chrome浏览器,遇到了一个奇怪的js错误信息:Failed to load resource: the server responded with a status of 500 (System.ServiceModel.ServiceActivationException)。
![](http://img.blog.csdn.net/20140310142858234)
错误与client.svc有关系,但是相关的代码一直是正常的,很普通的使用client object model来获取一些信息,怎么会突然出错了。检查之后才发现,竟然是内存不足了:
![](http://img.blog.csdn.net/20140310143122062)
内存小于5%,导致无法启动WCF服务,,要么是释放一些内存,要么可以修改minFreeMemoryPercentageToActivateService属性的值,在站点的web.config中,找到system.serviceModel节点,改为:
错误与client.svc有关系,但是相关的代码一直是正常的,很普通的使用client object model来获取一些信息,怎么会突然出错了。检查之后才发现,竟然是内存不足了:
内存小于5%,导致无法启动WCF服务,,要么是释放一些内存,要么可以修改minFreeMemoryPercentageToActivateService属性的值,在站点的web.config中,找到system.serviceModel节点,改为:
</system.webServer> <system.serviceModel> <serviceHostingEnvironment minFreeMemoryPercentageToActivateService="0"/> </system.serviceModel>这样可以去掉5%的内存限制,是WCF服务恢复正常。但是还是要解决内存不足的根本问题。
相关文章推荐
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- PHP 中 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- failed to load resource the server responded with a status of 500 (internal server error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- failed to load resource the server responded with a status of 500 (internal server error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- Failed to load resource: the server responded with a status of 500 ()
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- 上传文件失败 Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- 关于使用springmvc时Failed to load resource: the server responded with a status of 400 (Bad Request)错误可能原因
- Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
- ajaxSubmit 报错 400 (Failed to load resource: the server responded with a status of 400 (Bad Request))
- Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- jquery:Failed to load resource: the server responded with a status of 404 (Not Found)
- ajax 报错 400 (Failed to load resource: the server responded with a status of 400 (Bad Request))
- Failed to load resource: the server responded with a status of 400 (Bad Request)