.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

Bad URL on search results page - sharepoint 2007

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

Hi All,

I have a strange problem.

I am using sharepoint 2007 with the infrastructure update.

I have a production sharepoint 2007 farm, and a test sharepoint 2007 farm.  Both farms are pretty much the same.  Each has two WFE's, and a database server.  There is a production database server and a test database server. They are crawling different content databases, but the test content database is a copy of the production content database.    The only difference is that the production farm has a DNS record and different AAMs to correspond to this DNS entry (farmname.company.org)

Both have the same search scopes set up, there are about 5 that point to lists, and about 5 that point to document libraries.  When I do a search within one of the document library search scopes in both prod and dev, I get back identical results, but In production, when I hover over the the document title in the results, the URL in the bottom status bar looks like this: "http://myserver/MySite//Forms/DispForm.aspx?ID=32" (note the missing document library name)
While in test the URL looks like this:
"http://myserver/MySite/MyLibrary/Forms/DispForm.aspx?ID=32" (this is correct and works.)

I don't know if this is relevant info but I recently had to rebuild the production environme

View Complete Post

More Related Resource Links

How can I add custom Search Paging webpart in the Search results page in MOSS 2007


I have created a Basic webpart page and added Content editor webpart to extend the functionality of Advanced Search webpart. This is working fine. Also added OOB Search Paging webpart int his page. But when the number of items returned by the Search Core results webpart exceeds the Page size (10) then when I click on the next link in the Paging webpart then all results are lost and retrieved from All Sites scope. Is there any way to hook into the Search paging webpart.?

Please note that in the Content Editor webpart I have used custom search scope.

I need help with regard to this.

Thanks in advance!.

Ghost results in SharePoint 2007 Search

Office SharePoint Server 2007 (12.0.6512.5000) Cumulative Update Server Hotfix Package KB977027 on Windows 2003 When users search for a certain documents in a Microsoft Office SharePoint Server environment, the system returns several results that have been deleted. The list holding the documents can no longer be accessed, however, the link to the document is functional. For instance, this was returned as link in 2007 Link to the document http://xxx.com.au/corporate/policies/rosterdayoff/rules.pdf 2/12/2007 but the browser gave "The web page can not be found" with http://xxx.com.au/corporate/policies/rosterdayoff/ Have tried emptying the recycle bin, and doing a full content crawl afterwards. Also reset the crawled content, and then done a second full crawl of our content. None of these have resolved the problem. Thanks for any help Hong

Display files (where we dont have access to) in Search Results- Sharepoint 2007



Is there a way in which we can make the sharepoint search result display- files where we dont have access to ?

The requirement is that-

There are many files stored in document libraries which are either "Shared" or "Confidential"

Now normally The Confidential documents are not displayed in the search result of sharepoint search. (Since access to those files are denied)


Is There a way in which we make these files appear in the search result ? However when the user clicks on the URL/Title of the file the "Access Denied Page" is displayed (If the user doesnt have access).


This is because we dont want the files (Which are declared confidential) to be re-created.

Managed Properties in the Advanced Search page of Sharepoint Server 2007


Hi all,

I want to search a custom field in a SharePoint list by using the Advanced Search page. I followed this post http://interdata.cl/?p=368 and i was able to find all metadata properties without any blank.  For example, I´ve created columns called "Baseline", or "Milestone" and it works properly, but for example, "Document Code" doesn´t works.


The field shows up correctly in the Advanced Search properties, but whenever I do a search trying to specify my custom property I get the error message: "Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information.".

if I look at the Managed property in Central administration, it tells me "Number of objects with this property: more than 350", so the data is mapped correctly to the property.


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

Ingest google Search Index into Sharepoint 2007


Hi Folks

 I am wondering  if there is a way to ingest google search index into SharePoint index such that when people search via SharePoint they see the Google results too… incorporated/federated inline with the SP results (not as a separate "box" ).

We have Google search in our environment and also share-point search. Share-point search for sharepoint site but Google search is for all other environments. Now i am thinking if we ingest the Google search index into share-point then may be its great deal to provide user a platform to search everything on one place.




i am at entry level administrator

Sharepoint 2007 Search Not Working


I am pulling my hair out guys. I have tried everything i could find from this site and all other sites but have not been successful. No matter what i do I cannot get the search to work. We are using SharePoint 2007 and the search had been fine but our security team performed some patches and now I’m stuck with a dead search feature.

Any help would be immensely appreciated.

Things I have tried but did not resolve the problem:

1. Check all accounts and passwords

2. Run the SharePoint Products and Technologies Configuration Wizard

3. Reboot server reset IIS

4. Try to rebuild the index but that also fails

5. Check the Content Access Account

Sharepoint 2007 Document Search and Highlight in Office 2007 and PDF


We will be implementing Document Search (DOC, DOCX, PDF, TIFF, PPT, PPTX, XLS, XLSX) for one of our customers. We were evaluating a few MOSS 2007 based solutions, and happened to visit your site.  What we intend to achieve are the following functionalities:


a.       User should be able to search through 1000s of documents which are in a Sharepoint Document Library

b.      The documents could be in English, International Languages.

c.       Each document is 70-100 pages, and therefore it is important that the Search Results show the relevant pages on which the Search Text appears (Get Highlighted) within each document . Clicking on the link will take the user to the right page.

d.      The additional requirement is Synonym search. So, I can search for

SharePoint 2007 - Consolidating everything as feature into WSP [Content Type, Page Layout, Pages, Ma


Hello –


Overview – We are building a Mobile Web Site using SharePoint 2007. The big screen site has been already built and we need to integrate the mobile site into same site collection of big screen –


·         The Mobile site will use the existing content types of existing big screen site

·         We will build a new custom Master page

Sharepoint 2007 - Wiki site - New Pages Not Inheriting Custom Master Page


I am working on a SP site (MOSS not WSS) which is heavily customised away from the OOTB layout. I need to create a Wiki site, which was going well - I've created a master page which displays the miniconsole (this was not visible with our customised layout), and made it the default master page for the site. This has been applied to the two standard pages that come with the Wiki site, however when a new page is created, it seems to inherit the default.master, rather than my custom master page - thus not showing the miniconsole.

When I have created a new page, I am able to use SharePoint Designer to attach my custom master page to it, which works perfectly, however this will not be a viable option going forward as end-users create their new wiki pages.

How can I get the new pages to inherit my master page when they are created?


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?



SharePoint 2007 Central Admin - blank page, isapimodule error in IIS


I've got a Windows 2008 SP2 server runing x64.

When i try to access the SharePoint Central Admin site, I just get a blank page. No errors in the Windows logs, nothing showing up in the SharePoint logs. The IIS log shows a 500 error.

I enabled Failed Request Tracing for the 500 status code, which gives me the following information:

ModuleName IsapiModule

Notification 128

HttpStatus 500

HttpReason Internal Server Error

HttpSubStatus 0

ErrorCode 2147942593


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 Customization and Development Options in SharePoint Server 2007

Examine the powerful platform of SharePoint Server 2007 search for the end user and developer. Learn about the built-in Web Parts for search and writing search queries for your applications.

Video: Coding a Long-Running Operation Page in SharePoint Server 2007 or Windows SharePoint Services

Watch this visual how-to video as you learn to write code to mimic the default long-running operations page (the "spinning wheel") in SharePoint Server 2007 or Windows SharePoint Services 3.0. (Length: 7:56)

Coding a Long-Running Operation Page in SharePoint Server 2007 or Windows SharePoint Services 3.0 (V

Watch the video and explore code as you learn how to write code to mimic the default long-running operations page (the "spinning wheel") in SharePoint Server 2007 or Windows SharePoint Services 3.0.

Search relevancy in sharepoint 2007

Hello Everybody, Environment: Moss 07 Problem: when searching in MOSS 07 returns list of all pdf's, word document, ppt's etc first and then related pages latter.   Requirement: want a mix of results which includes documents and pages to be shown in first page.   My approach till now:   I tried downloading Search relevancy tool for sharepoint 07 from codeplex http://searchrelevancy.codeplex.com/   Dont know if adjusting weights will give me correct result. I am clueless as the results are showing the contents of document in the first page and after several pages the links are shown.   Can somebody help me on this.  
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