There is a SharePoint intranet site
http://server_name:port with DNS
xyz pointed to
The issue could be related to the way I have configured
AAM. Here is the background about what was done.
- I added new binding in IIS with port 80 and host name
- Configured alternate access mapping for the site collection by adding
new mapping for intranet with
- There is a search application configured and I had to include
http://xyzin the search scope to get the items in the site crawled. The items crawled was 0 when the search scope was default address of the site.
- I have not removed
http://server_name:portfrom the scope and hence i get this crawl error.
This item could not be crawled because the crawler could not connect to the repository
Now I access the site using
http://xyz and try a search query, the result returns nothing!
I checked the log it seems the items are getting queried. I also get this error in the LOG
Error getting element ProxyUrl: System.ArgumentNullException: Value cannot be null. Parameter name: xDoc at Microsoft.Office.Server.Search.Administration.LocationConfiguration.getElements(XmlDocument xDoc, String elementName, String nameSpace) at Microsoft.Office.Server.Search.Administration.LocationConfiguration.getElementString(XmlDocument xDoc, String elementName, String nameSpace)
Please let me know how to get over this issue.