SharePoint 2010用“localhost”方式访问网站,File not found问题处理方式

场景:本地服务器上,用“localhost”方式访问网站;在某网站集(Site Collection)下的子网站(Sub Site)中,点击网站权限菜单(Site permissions)等关于调用Layout下文件的情况,就出现“File not found”异常;配置网站web.config的CustomError为Off,出现“Unable to find the specified file.” 
 
解决方式:不要用“localhost”,用“机器名”或者“IP”访问就没问题了,按道理也是应该这样做,考虑到客户端是无法认“localhost”的。
 
原文地址:https://www.cnblogs.com/huangjianwu/p/4537193.html