Wednesday 3 May 2017

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

Introduction

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.
Issue

Once we configure Search and started all the Related services, when we start the Crawl and crawl failed and shows one of the errors below. This contains all the issues and solutions related to “search crawling” in one plate that everyone can easily able to get the solution quick. All the issues and resolutions are below.

Errors

1. 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. (HttpStatusCode Unauthorized The request failed with HTTP Status 401: Unauthorized.)

2. “An unrecognized HTTP response was received when attempting to crawl this item. Verify whether the item can be accessed using your browser.”

3. “The secure sockets layer (SSL) certificate sent by the server was invalid and this item will not be crawled.”

4. The URL of the item could not be resolved. The repository might be unavailable, or the crawler proxy settings are not configured.


5. The SharePoint item being crawled returned an error when requesting data from the web service.

Solution 1
Disable Loopback Check: It is actually a security feature that prevents access to a web application with a fully qualified domain name to from the host server. Follow these steps to disable this feature

• 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(32-bit) 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.


Solution 2
Specify host names: To specify the host names that are mapped to the loopback address and can connect to Web sites. This method would be preferred for NTLM authentications.

• 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\MSV1_0
• Right-click MSV1_0, point to New, and then click Multi-String Value.
• Type BackConnectionHostNames, and then press ENTER.
• Right-click BackConnectionHostNames, and then click Modify.
• In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
• Quit Registry Editor, and then restart the IISAdmin Service

Solution 3
Step 1



Step 2

Step 3

Step 4
 Step 5
 Step 6
Step 7
Add the URL  in Alternate Access Mapping
Step 8
Add the Same URL in Local SharePoint Sites to crawl
Step 9
Start Full Crawl

Reference
Link 1
Link 2

No comments:

Post a Comment