爬网日志:
访问被拒绝。请检查默认内容访问帐户是否拥有访问此内容的权限,或添加爬网规则以对此内容进行爬网。 (由于找不到该项目或拒绝爬网程序对其进行访问,该项目已被删除。)
解决办法:
搜了很久,受这里的启发
管理中心 > 应用程序管理 > 内容数据库 > 管理内容数据库设置
还是提示同样的错误。
继续搜,搜到这里
据传闻,一个老外说这个问题其实是由主机头引起的,引起回环操作,导致搜索失败。说实话,不是很明白此话何意,解决办法是禁用回环操作,修改注册表。如下:
Resolution:
Follow these steps to Disable the loopback check which is causing the error:
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right-click Lsa, point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor, and then restart your computer.
至此,问题解决,爬网正常。