配置MOSS爬网时错误:访问被拒绝。请验证默认内容访问账户是否有权限

最近使用SharePoint 2010时,用到了爬网.实际的环境如下:一个server,一个IIS中建立了不同的主机头,都是一个管理中心管理,但是在管理中心的server上,只能访问第一个和IIS同名的网站,其他网站访问不了.配置爬网以后,使用的是管理员账户,但是出错.在爬网日志中看到的是:访问被拒绝。请验证默认内容访问账户是否有权访问此库。在其他机器访问不同的主机头是正常的.后来听说在2007上也是一样的问题,因此进行一番搜索.得到方法是修改注册表。如下:

Resolution:
Follow these steps to Disable the loopback check which is causing the error:

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Quit Registry Editor, and then restart your computer.
 

posted @ 2011-11-08 16:28  学途  阅读(332)  评论(0编辑  收藏  举报