Icons Are Not Displayed Correctly for Known File Types in Site Server Search (284281)



The information in this article applies to:

  • Microsoft Site Server 3.0, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q284281

SYMPTOMS

When you search by using Site Server Search, the icon for known file types does not display for Microsoft PowerPoint and Microsoft Excel. This only applies to Site Server version 3.0 when it is installed on a Windows 2000 operating system.

CAUSE

The mime types have changed between Office 97 and Office 2000.

WORKAROUND

For the icons to be displayed properly for known file types, you must change the Searchright.asp file .

For Microsoft PowerPoint file types, by default, the code is as follows:
elseif Fmt = "application/x-mspowerpoint" then
DocType="doc"
Image= "images/ppt.gif"

				
Change it to:
elseif Fmt = "application/vnd.ms-powerpoint" then
DocType="doc"
Image= "images/ppt.gif" 


				
For Microsoft Excel file types, by default, the code is as follows:
elseif Fmt = "application/x-msexcel" then 
DocType="doc"
Image= "images/excel.gif" 
				
Change it to:
elseif Fmt = "application/vnd.ms-excel" then 
DocType="doc"
Image= "images/excel.gif" 

				

Modification Type:MajorLast Reviewed:5/23/2003
Keywords:kbprb KB284281