.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

No search results in sub sites

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#


I am having issues in subsite search.

In case I am search some keywords in top level sites. I am getting the expected results and shows the subsite results also. So there is no issue in top level site search.

When I tried to search the same keywords in the subsites, getting No results found error. ( But actually results are there. - I have confirmed it with top level search results).

Please helip me out from this issue. Any Permission issue is there?

Thanks in advance.


Nanda kumar R | Programmer | eMantras

View Complete Post

More Related Resource Links

Why is SharePoint people search returning the same results as all sites search?


I've been having issues with the people search in that it doesn't return any results and the scope is 0.

I deleted the scope and recreated it adding the rule contentclass = urn:content-class:SPSPeople with behaviour : require but now when i search for people it seems to search everything not just people profiles. Please can someone tell me what I have done wrong when I recreated the scope? The scope still cant crawl the profiles but I'd like to at least get back to where i was before!!


How to display a count of search results with keywords in a label?


Sorry for a basic post here; I am very new to VB!

I am currently building a search page, which includes a textbox and two drop-down lists, a search button, and a datagrid. If results are found and displayed, I would like a label to display:

(e.g.) "24 results found for 'blue sky clouds' "

...where the integer represents the results count, and the keywords and/or drop-down list selections are included in the string.

If no results are found I would like the label to display:

(e.g.) "No results were found that match your selection. Please try again"

I would also like the label to be invisible until a search occurs.

Thanks in advance!

SharePoint Security: Trim SharePoint Search Results for Better Security


SharePoint search may return too much information, causing data security problems. Learn how to use the custom security trimmer to ensure users see only the documents they have permission to view.

Ashley Elenjickal, Pooja Harjani

MSDN Magazine July 2010

How can I prioritise search results to show where document metadata has a hit first and then where t


When my users run a search against a site with a bunch of document libraries they will often search for terms that are in the title of the doc, if they do know the title they will put that in. What I would like to do is have the results ordered such that if any hits are on the document metadata (eg Title) then they are presented first and any results that are from hits on the content of the documents are presented later.

So, if they get the title spot on in their search query that document will appear first .... if they don't get it right then the likelyhood is that the title is something like what they entered so similar titled docs are presented first and then those with matching content ....

How can I achieve this?


No Results matching your search were found. WSS 3.0


I've got one sharepoint 3.0 site, which is a hostNamedSiteCollection which won't return any results when we search it - searching the entire site or a single list both produce the same "no results matching your search were found".
The site uses Windows Authentication.  We have no Alternate Access Mappings set up. It is regular HTTP
I've added test content to other sites housed in the same Web Application and searched - that new data is appearing in the results.
I did a backup using STSADM and restored the site to my dev server (as both a hostNamedSiteCollection & a regular site collection) - searches return results just fine.
I deleted the site from the prod server and restored it (into a different content database even!) from a backup  I made with STSADM - no results are returned.
I restored the site to the same web application as a Standard site (http://webapp/sites/sitename) (NOT a host named site collection) and results ARE returned.

I've looked at the trace logs & application logs on the server, but can't find any errors that I can tell might be related..

This is the only site I've ever seen have this problem.  We have plenty of other hostNamedSiteCollections and search is working fine on them.


Exclude the author name from the search results



How can i prevent author's name to appear in search results. shows many results when i search the "author.name".

I want, MOSS 2007 Search get results from the content only the user sees.


FAST Search for SP2010 scope setting works but not getting results.



I am trying this from last two days , but it does not work. I have created two scopes for FAST Search Query SSA , they appear in search center , but I am not getting any results back. I see them being fired in the FAST query log.

First one is a simple one:

New-SPEnterpriseSearchQueryScope -SearchApplication "FAST Query SSA" -Name DCO -Description "All DCO Documents" -DisplayInAdminUI 1 -ExtendedSearchFilter "ContentSource:DCO"

Content source is a managed property. and i can just query "contentsource:dco" from the text box which gives me results.

When I fire the query i see it in FAST Search query log

"GET /cgi-bin/search?qtf_keyword:context=ssgid%3a%3a4d020606-8532-45d8-b09a-db11283cccb4%7cSPS-Location%3a%3a%7cSPS-Responsibility%3a%2c%3a%7c&rpf_navigation:hits=50&rpf_navigation:enabled=True&spell=suggest&qtf_parsekw:timezone=10&type=kwall&qtf_teaser:dynlength=185&resubmitflags=8192&language=en&query=CASHIERING&sortby=%2bdefault&qtf_lemmatize=True&offset=0&version=

Excel file not showing in search results

We have a strange issue. I have one Excel document (or at least one that I am aware of) that will not show up in search results for content within the document. I can find the document by title just fine, but when I search for words within the document I do not see it. The document was originally a 2003 Excel document and was recently converted to 2007. Other than that there isn't really anything unusual about it (some formatting stuff, but mainly just background colors and whatnot, nothing fancy). The crawl log shows the document was crawled without error. Anyone know anything else I can check on?

Customizing Search Results page in MOSS



The Search Results page in MOSS seems to list the results as links by default. My customer asked me if I could customize the search results so that they show in a data view web part. Is this possible?



QueryEx (Search) results and Custom Page Index


Hi All,

I done a web part which allow the user to query the search.asmx. It return the result fine against which I apply some xslt. However I need a mean to create a Page index. I only return the result based on a range defined in the query.

I need somehow to obtain the number of result the search is returning in total against what I only want to display on the screen.

The only way I sort of figure to do that is by first make a search just to obtain the number of result it will return in total and then make a search defining a range.

Has someone done something similar?


Search query returning 0 results

I'm using a query which returns 0 results but was working some weeks ago.  I checked the code and nothing has changed since then.  I created a Search Center Site on another port and using the same terms I get many results there.  I checked my scopes and they are all right. Nothing changed there either. Could someone help me figure out what may be the problem in my query.  Or maybe it's my Scopes/Content Sources configuration. SELECT URL, FileName, Title, Description, Rank, Size, HitHighlightedSummary, Path FROM SCOPE() WHERE freetext(defaultproperties, ' +légumes')  AND ( "scope" = 'Scope - My Portal - All Site - fr'  )    ORDER BY Rank DESCDaniel Siconnelli There is neither good nor evil... only mogwais and gremlins

How to form xsl for search results

Hello All I am having one content type which was used for page and in that having one site column with type of Choice (check box list with multiple selection) so using that user can select multiple items of that field on the edit mode of page. I have implemented search on that column. I display results in customized format using xsl. I display all the other fields with single line text as below and getting proper data in search result. <xsl:value-of select="@Hospital"/> but i its choice type then it displays like below and do not give the actual item seleted on the page. System.string[] Can anybody tell me how to form an xsl to display such fields so that i can get value as below . value1,value2..   Thanks & Regards Mrugank Dholakia

SharePoint Server 2010 Search - not returning results but crawling without errors

I have created a Search Service Application on a SharePoint Server 2010 (RTM) Farm and used the default Content Source. I started a Full Crawl and it suceeded with no errors etc. I ran it a few times and no issues. But if I go to the Intranet Portal Web Appliaction and do a search for a document that would have been crawled it does not show up in search results...nothing does. I am not getting any errors in Event Log or ULS Logs relevant to Search. How can I troubleshoot this problem further?SharePoint Solution Architect, Perth Australia - Microsoft Virtual Technology Specialist - MCTS WSS Dev, WSS Adm, MOSS Dev, MOSS Adm - http://wss.made4the.net/ - Founder of http://www.sharepointdevwiki.com/

Customize search results extensively

Hi all,   I have a Sharepoint Internet with 23 languages (variations) and I need to customize search results for list item/library items.    I use Document Sets to store common properties and per-language properties for each document of my 23-languages Internet.   When I do a search, I get lots of results from libraries but I would like to change content with something like:  [Document Title] [Highlight for search] [Custom link based on the document and the current language] Document is also available in [list all other document in the document set of the current document result].   I saw we can modify search result with XSLT but I need more data (other items from same document sets and so on).  I also need to remove multiple result pointing to same document set (with pagination altered and search result count altered).   Which is the right solution?    Thank you in advance,   Benoit Pironet  

How to add List item in search results for anonymous in a publishing site?

Hi all,   For now, results in Library (document set or not) are shown and the link is the binary file. This is ok. But for list, anonymous users can't view results. As logged in I see the items in the AllItems.aspx page. How could I allow this result to be viewed by anonymous users too?      Thank you,   Benoit Pironet

Add mobile number to search results in People Finder

Hi, Could someone tell me if it is possible to add content to the People Finder search results, namely the users mobile number. If if is possible could you tell me how or point me in the direction of a how to? ThanksDavid Hodgson Add me on Twitter and LinkedIn www.infinitygroup.co.uk

Sharepoint 2010 Search No Results

I am unsure about who the Search Services should be running under. I am getting no results returned from Sharepoint after doing full successful crawl. I have not installed Fast Search, just going through the Search box on the site. For Services, I have Sharepoint Server Search 14[Server admin account] and Sharepoint Foundation Search V4[Server admin account] both started. The full crawl only takes about 2 minutes. When I changed the account to [local system] for both of these services, it was still going at 1 hour and 40 minutes when I stopped the crawl. I assume that the local system is not the account to run it under? The site only has about 20 documents on it right now.    
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend