最近使用SharePoint 2010时,用到了爬网.实际的环境如下:一个server,一个IIS中建立了不同的主机头,都是一个管理中心管理,但是在管理中心的server上,只能访问第一个和IIS同名的网站,其他网站访问不了.配置爬网以后,使用的是管理员账户,但是出错.在爬网日志中看到的是:访问被拒绝。请验证默认内容访问账户是否有权访问此库。在其他机器访问不同的主机头是正常的.后来听说在2007上也是一样的问题,因此进行一番搜索.得到方法是修改注册表。如下: 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. 相关文章: 2021-11-18 2021-08-05 2021-06-28 2022-01-27 2022-01-08 2021-09-22 2021-10-19