您的位置:首页 > 其它

SharePoint 爬网错误:Access is denied. Check that the Default Content Access Account has access to this content && 本机无法访问moss 站点

2010-01-19 10:56 691 查看
SharePoint站点使用了主机头(Host Header)之后,出现有两个问题:
1.MOSS本机无法访问, 如:在本机用www.abc.com 访问,老提示输入账号密码,输入3次正确信息后,报401.1错误, 在其它机器用www.abc.com访问正常 2. 进行爬网时,爬www.abc.com时,爬网失败,错误日志为, Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled. (The item was deleted because it was either not found or the crawler was denied access to it.)

原因:SharePoint回环检查(Loopback Check),详见KB896861 解决方案: 方法 1:禁用环回检查请按照下列步骤操作: 依次单击“开始”和“运行”,键入 regedit,然后单击“确定”。 在注册表编辑器中,找到并单击下面的注册表项: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

右键单击“Lsa”,指向“新建”,然后单击“DWORD 值”。 键入 DisableLoopbackCheck,然后按 Enter。 右键单击“DisableLoopbackCheck”,然后单击“修改”。 在“数值数据”框中,键入 1,然后单击“确定”。 退出注册表编辑器,然后重新启动您的计算机。
方法 2:指定主机名要指定映射到环回地址并且可以连接到计算机上的网站的主机名,请按照以下步骤进行操作: 依次单击“开始”和“运行”,键入 regedit,然后单击“确定”。 在注册表编辑器中,找到并单击下面的注册表项: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0

右键单击“MSV1_0”,指向“新建”,然后单击“多字符串值”。 键入 BackConnectionHostNames,然后按 Enter。 右键单击“BackConnectionHostNames”,然后单击“修改”。 在“数值数据”框中,为本地计算机上的网站键入一个或多个主机名,然后单击“确定”。 退出注册表编辑器,然后重新启动 IISAdmin 服务。
方法 3:微软已经出了相应的补丁



Fix this problem
Microsoft Fix it 50306

方法 4: 针对爬网失败的问题,还有一种方法可以绕过去,

扩展www.abc.com这个Web 应用程序(不可以是主机标头,直接使用主机名,如:http://moss:1234)
将爬网的内容源修改为http://moss:1234
启动爬网,爬网成功后,在非moss本机打开www.abc.com,测试搜索,一切正常

参考:

SharePoint回环检查(Loopback Check)相关问题
KB 896861 and "Microsoft Fix it"
当您浏览的网站使用集成身份验证并承载于 IIS 5.1 或 IIS 6 上时,会收到 401.1 错误
Access denied when crawling MOSS Content
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐