.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

MySite Search issue

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#


We are using MOSS2007 and MySite as personal webpage for each domain user.

Each time the crawling on MySite site collection would generate numerous errors in event log as below (5times per sec!).

The crawling account (abc\system_crawl) has normal READ permission over MySite site collection and I manually tested that this account does have NO access to the specific URL in error below - http://mypage.abc.com/personal/simon/Personal Documents/Forms/AllItems.aspx.


My question is, shall we grant higher permission for crawling account? or shall we somehow exclude these webpages in crawling of each person's site?

What is the best practice to set this?


Thanks and

best regards,



System.UnauthorizedAccessException: Access denied.
   at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)
   at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
   at Microsoft.SharePoint.Library.SPRequest.CheckOutFile(String bstrUrl, String bstrWebRelativeUrl, Boolean bCheckoutToLocal, String bstrLastModified)
   at Microsoft.SharePoint.SPFile.CheckOut(Boolean bCheckoutToLocal, String lastModifiedDate)
   at Microsoft.SharePoint.SPFile.CheckOut()<

View Complete Post

More Related Resource Links

Mysite Search Scope

I have four search scopes in the Shared services SSP. But in sharepoint 2007 mysite i see only All sites and People search scopes in the dropdown by default. I want to enable other two search scopes for all Mysites. I know how to enable search scopes individually but i would like enable search scope globally for all Mysites in my sharepoint webapplication.

Please suggest.


Search Scope Issue



I have 8 web applications containing different sites. One of the web applications is hosting a site called pmsportal.

Currently search results display files from all sites and from all web applications having matching results. That is like google!!! Sweet!!! BUT its over-performing! The owners of the pmsportal want search results to display only results from within their site ONLY...how do I do that? In the SSP Search Settings I have only two(2) Content Sources defined

(1) Local Office SharePoint Server sites

(2) PeopleSoft_Data

Someone please help.

Custom Search issue with freetext


Hi All,

My Environment : MOSS 2007 (sp2) with SQL Server 2005

I have a custom search webpart which uses FullTextSqlQuery to fetch the results from Index. I have a some keywords and a free text boxt to build the search query. Poeple enter their query by selecting the keywords and enter some free text into the text box.

Issue : When any PDF document (Not tested with .Doc) is searched using custom webpart with the numbers like "2,0233.21" I do not get any results returned even though the results are returned using the SharePoint out of box full text search. But when I search the content like "2+0233+21" I get results both in Out of box and in custom search webpart.

Requirement: The Custom search should be able to find the document when numbers like "2,0233.21" are entered. It should work exactly like the out of box search.

Thanks in advance for your suggestions.



Sharepoint search issue

Hi All, I make a group in my sharepoint site,for all member of this group search is working fine but only one member of this group can't get the search result. Please help me what the reason about this. Thanks in advance Sanjeev

Weird Issue with the MOSS Search : FileExtension metadata object type instead of string

Hello, We 've got a strange issue with the search and especially with the FileExtension metadata. when we make a query on the search engine, we receive for the FileExtension metadata an unexcpected result. here is a printscreen showing the issue. http://cid-53eee937847a625e.photos.live.com/self.aspx/Public/Untitled.jpg as you can see the Type of the FileExtension is object and it should be string and I checked the type of the object and it's System.String[] the element at the index 0 contains the value! what's wrong ? thx in advance

Weird Issue with the MOSS Search

Hello, We 've got a strange issue with the search and especially with the FileExtension metadata. when we make a query on the search engine, we receive for the FileExtension metadata an unexcpected result. here is a printscreen showing the issue. http://cid-53eee937847a625e.photos.live.com/self.aspx/Public/Untitled.jpg as you can see the Type of the FileExtension is object and it should be string and I checked the type of the object and it's System.String[] the element at the index 0 contains the value! what's wrong ? thx in advance      

MySite Turned off and People search does not work.

Hi everyone, as one of the requirements for our sharepoint server we have turned the "Mysite" functionality off.When I try to click on a resault of a people search to view someone's profile I get a 404 error. Obviously this is due to turning off Mysite.My question is, is this a bug in SharePoint? Why would turning off MySite not redirect the profile to Userdisp.aspx instead of Person.aspx (releated to mysite)??What I am interested in knowing is has anyone been able to edit the people resault page and redirect the profile information to userdisp.aspx instead of person.aspx?Thanks for any help!

Issue seen Implementing Search in WPF TreeView having both Virtualization and LoadOnDemand/Lazy load

We need to use Virualization and LoadonDemand for performance reasons. We are facing some issues in implenting a search Node capability. The issue has been described in detail by our Developer at the following link. A Sample code is also attached to the link below. http://social.msdn.microsoft.com/Forums/en/wpf/thread/ff5ab305-26f0-49a1-b1c8-3254e7edcd15

Custom Search WebPart issue with apostrophe


I have a custom search webpart which returns the results based on the search input from a text box. The search is performed on a managed property called "CustomerName". When the customer name has apostrophe " ' " in its text, the search results are not returned because of the wrong query formation. 

I need to use a escape sequence and pass the search query. Can anyone help me how to form the query for this ?

Example: Customer name : A'BCD

ASP.net free text search issue for "C#"


In my ASP.net application I have used index server utility to search specific text from word/text files.

For this functionality I have used index server and configured folder. After implementation of this program this was running fine but after some time user reported they can not find keyword "C#" or any word with "#". I think I should share my experience and solution with other developer who may also faced or facing this issue.

Use the following code and it will work.

"Desc" is the text box name and searchstr is the search string paased to index server to search from files.


Desc.Text.contains("C#") Then

searchStr = "C#"


searchStr = Desc.Text.ToLower()


End If

Issue with People Search Box - Search Options Toggle teaser not loading correctly



I am experiencing an issue with the People Search Box Web Part.

When I click search options on the "People Search" web part that I have added to my Staff Portal front page it doesn't seem to render correctly. The toggle teaser tries to expand out the options but I can see the content that exists below it.

After this clicking on one of the list web parts I have and selecting the next page pf the list causes the page to fully re-render and I can see the "Search option" toggle teaser properly.

I'm wondering if this is behaviour that anyone else has seen when configuring their People Search?

I know I can turn the Search options off but this seems like a bit of a cheat and I'd rather have the functionality working properly - especially if this is a symptom of something more radically incorrect with how I have configured my front page.

Thanks in Advance


FAST Search Sever Installation - Domain / Password Issue


I have isntalled SharePoint Server 2010 and here is my configuration:  One virtual machine with Windows 2008 R2 as a domain controller.  One virtual machine with SharePoint Server 2010, SQL Server R2 2010.  SharePoint was installed as a farm pointing to the local SQL Server.  I also used the domain account domainname\SPUser during the SharePoint Server configuration wizard.  I then installed FAST Search Server 2010.  Everything worked without an issue until I try to run the FAST Search Server 2010 Configuration Wizard.  When asked to provide username and password, I try to use a domain account domainname\FSUser.  I receive the following:  User validation failed.  Username or domain is incorrect.

I tried logging into the SharePoint Server / FAST Search Server virutal machine with the domain account domainname\FSUser with no problem.

Any ideas?

Custom Search in MySite



I have customized OOB Search to redirect the user to Custom Scopes results page. I have used Search Settings page to set the following properties.

1. Site Collection Search Center: This property is set to Custom Scopes.

2. Site Collection Search Dropdown Mode: This property is set to "Do not show Scopes Dropdown and default to target results page."

My Custom Search control is as follows which I am installing using a feature

      ControlAssembly="Microsoft.Office.Server.Search, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
    <Property Name="GoImageUrl">/_layouts/images/gosearch15.png</Property>
    <Property Name="GoImageUrlRTL">/_layouts/images/gosearchrtl15.png</Property>
    <Property Name="GoImageActiveUrl">/_layouts/images/gosearchhover15.png</Property>
    <Property Name="GoImageActiveUrlRTL">/_layouts/images/gosearchrtlhover15.png</Propert

Search Issue in SharePoint 2010


I have added Service Service Application in SharePoint 2010 central administration. While doing the crawl I am getting the following error:

The object was not found. ( Error from SharePoint site: HttpStatusCode NotFound The request failed with HTTP status 404: Not Found. ).

I am not getting any crawl results. I have checked, all services are working with same admin account and it is in Started state.

Kindly help.


Mysite profile pictures not showing in people and groups, or search results

My organization is running MOSS 2007 Enterprise with search.  Picture profiles uploaded to the user's mysite only appear while browsing from the Default zone.  When browsing the Internet zone, a broken link appears in place of the picture when viewing pages such as "People and Groups" or search results.  For example:

Default zone:

http://moss1:5154   <---- mysite
http://moss1:5155   <---- main sharepoint site

Internet zone:

https://mysite.domain.com  <---- extended mysite
https://domain.com             <---- extended main sharepoint site

The picture profile url that is appearing while browsing the Internet zone is:


Instead of:


All of the textual information is coming over fine, just the images have invalid urls for the current zone.
Does anyone know how to fix this?

Any insights appreciated,


sharepoint search issue


Hi all

      We have two front end servers and one index server , the index server configured with autonomy server , but my question is whenever if system account used to search the conttent in site search function is not working but this function works fine for admin accounts may i know the reason why?  

Sharepoint Search Performance issue


Hi i am using Sharepoint 2007  Search and we are currently doing a performance test on the search. The issues is that once we add more concurrent users (more than 10) though the search results are displayed to the user  the CPU usage goes beyond the threshold value . Can any one tell me if there might be some thing which might be causing this. Some one else suggested that there migh be some services running on the server which are not actually required. But didnt mention which once specifically.  

Details of the share Point server :


·         OS                          :  Microsoft Windows server 2003

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