Microsoft Knowledge Base Email Alertz

(891065) - Describes a problem when no items are returned in the search results, and you receive an error message when you search the portal site for content in PDF documents that are streamed from .aspx pages.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 891065 - Last Review: June 5, 2006 - Revision: 2.5

No items are returned in the search results, and you receive a "No matching documents were found" error message when you search for content in PDF documents that are streamed from .aspx pages in SharePoint Portal Server 2003

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://kbalertz.com/Feedback.aspx?kbNumber=256986/ ) Description of the Microsoft Windows registry

On This Page

SYMPTOMS

Consider the following scenario in Microsoft Office SharePoint Portal Server 2003. Content in Adobe Portable Document Format (PDF) documents is streamed from .aspx pages. When you search the portal site for this content, no items are returned in the search results. Additionally, you receive the following error message:
No matching documents were found
You experience these symptoms even though the content that you search for exists in .pdf documents on the portal site.

CAUSE

This problem occurs if the .pdf documents that are streamed from .aspx pages are incorrectly indexed in SharePoint Portal Server 2003. Typically, SharePoint Portal Server 2003 uses the file name extension of the document that is being indexed to determine the correct filter to use. When a document is streamed from an .aspx page, SharePoint Portal Server 2003 ignores the ContentType property that may be specified in the stream. SharePoint Portal Server 2003 uses the file name extension of the .aspx page instead of the MIME type to determine the filter to use for indexing. Therefore, the streamed .pdf document is incorrectly indexed.

RESOLUTION

How to obtain the hotfix

This issue is fixed in the SharePoint Portal Server 2003 post-Service Pack 1 Hotfix Package December 21, 2004. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
891638  (http://kbalertz.com/Feedback.aspx?kbNumber=891638/ ) Description of the Microsoft Office SharePoint Portal Server 2003 post-Service Pack 1 hotfix package: December 21, 2004

Add the Extension registry entry

To enable this hotfix after you install it, add the Extension registry entry to the following registry subkey, and then set the registry entry to ".pdf":
HKEY_LOCAL_MACHINE\Software\Classes\MIME\Database\Content Type\application/pdf
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. To enable this hotfix, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate, and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Classes\MIME\Database\Content Type\application/pdf
  3. On the Edit menu, point to New, and then click String Value.
  4. Type extension, and then press ENTER.
  5. Right-click Extension, and then click Modify.
  6. In the Value data box, type .pdf.
  7. Click OK, and then click Exit on the File menu to quit Registry Editor.

STATUS

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

MORE INFORMATION

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
Keywords: 
kbqfe kberrmsg kbbug kbfix KB891065
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate