Microsoft KB Archive/923898

From BetaArchive Wiki
Knowledge Base


No items are returned in the search results in SharePoint Server 2007 when you run a query that contains a URL property restriction that includes a port number

Article ID: 923898

Article Last Modified on 5/14/2007



APPLIES TO

  • Microsoft Office SharePoint Server 2007



SYMPTOMS

Consider the following scenario. You use the Advanced Search feature in Microsoft Office SharePoint Server 2007 to search for items that contain a URL. To do this, you run a query that contains a URL property restriction. The URL property restriction includes a port number. In this scenario, no items are returned in the search results. However, if the query includes only the URL and does not include the port number, items are returned in the search results as expected.

For example, if you search by using the following query, no items are returned in the search results:

https://DomainName.com:42709


However, if you search by using the following query, items are returned in the search results as expected:

https://DomainName.com


CAUSE

This issue occurs if the port number does not match the zone in which the site was crawled. A query that uses a URL property restriction relies on the canonical form of the URL. Therefore, a query that contains a URL property restriction that includes a port number does not work if the URL is used in a different zone.

WORKAROUND

To work around this issue, use one of the following procedures:

  • Do not specify the port number in the URL when you run a query that contains a URL property restriction.
  • Search by using the URL that is configured in the content source.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about how to search for content in SharePoint Server 2007, see SharePoint Server 2007 Help.


Additional query words: moss moss2007 sps

Keywords: kbtshoot kbpending kbbug kbexpertiseinter KB923898