My Techie Blog

  Home  |   Contact  |   Syndication    |   Login
  110 Posts | 5 Stories | 406 Comments | 0 Trackbacks

News

Article Categories

Archives

Post Categories

Image Galleries

ADO.NET

Ajax

API/WebServices

ASP.NET Resources

BizTalk Server

Blogs I read

Free Books

How to

iOT

JavaScript

JQuery

JSLink - SharePoint

JSON

LINQ

Misc

Mobile BI

MS Business Inteliigence

Reporting Services

Responsive/MVC ASP.NET

SEO

Sharepoint Resources/Tools

SharePoint 2010 Branding

SharePoint 2010 Videos

SharePoint 2013

SharePoint Online

SilverLight

SPServices

SQL Server

Sql Server 2012

SSIS

Web Optimization Tools

Web Performace Tools

Windows 8

Windows Azure

Windows Azure

Windows Phone

WorkFlows

WSS V3

xml

Thursday, September 19, 2013 #

I was working on a SharePoint 2010 intranet and the client suggested they were changing the URL for example from http://computername to http://intranet

Everything was changed with no issues only to find out that when users search in the site collection using the search box they get no result back but when they search in the sub-site or used the search web part they could get results back.

I spent sometime investigating  to see what the problem was by first going to the SharePoint Central Admin to make sure the search service application was started successfully including all the services related to SharePoint search in the Administrative Tools > Services.

It all look good to me. Also checked the search service application again do make sure the server had crawl successfully.

But what I also notice is when i looked at the URL  of the page that displays the result which is the osssearchresults.aspx is that it  was both used when i perform a  search in the site collection which wasn't working and also in the subsite and search webpart that worked.

So I decided it must be something related to the Alternate access mapping and looking at the settings i noticed the url that was set to crawl the content source was different what was set in the AAM as a default zone.

So immediately i amended it  and tried the search BINGO it worked.

You can read more about it here