Microsoft KB Archive/284281

= Icons Are Not Displayed Correctly for Known File Types in Site Server Search =

Article ID: 284281

Article Last Modified on 5/23/2003

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition, when used with:
 * Microsoft Windows 2000 Standard Edition

-



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 = &quot;application/x-mspowerpoint&quot; then DocType=&quot;doc&quot; Image= &quot;images/ppt.gif&quot;

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

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

Keywords: kbprb KB284281

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.