Microsoft Knowledge Base Email Alertz

Icons that represent 2007 Office files are incorrect, and the Edit in Microsoft Office ProgramName option does not appear in a document library in SharePoint Portal Server 2003 or in Windows SharePoint Services 2.0

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: 936909 - Last Review: January 31, 2008 - Revision: 3.1

SharePoint Portal Server 2003 and Windows SharePoint Services 2.0 do not support the 2007 Office file types

SYMPTOMS

You use a computer on which 2007 Microsoft Office programs are installed to connect to a document library in a Microsoft SharePoint Portal Server 2003 site or in a Microsoft Windows SharePoint Services 2.0 site. When you do this, you experience the following symptoms:
  • Metadata values for 2007 Office files are not copied to or from SharePoint list columns.
  • You receive no search results when you query for the contents of 2007 Office files.
  • Icons that represent 2007 Office files are incorrect. Instead, a generic icon is displayed next to 2007 Office files in the document library.
  • When you click the arrow next to a 2007 Office document in the document library, you do not see an Edit in Microsoft Office ProgramName option.

CAUSE

This behavior occurs because SharePoint Portal Server 2003 and Windows SharePoint Services 2.0 do not support the 2007 Office file types. This limitation causes the following behavior:
  • You cannot promote or demote metadata from 2007 Office documents.
  • You cannot index the contents of 2007 Office documents.
  • The document icon does not appear in document libraries for 2007 Office documents.
  • You cannot start 2007 Office client programs to edit 2007 Office documents that are stored in SharePoint document libraries.

RESOLUTION

You cannot configure SharePoint Portal Server 2003 or Windows SharePoint Services 2.0 to promote or demote metadata from 2007 Office file types. This is a limitation of the product.

To add the ability to index 2007 Office file types, download and configure the Microsoft Filter Pack.
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
946337  (http://kbalertz.com/Feedback.aspx?kbNumber=946337/ ) How to register Microsoft Filter Pack with SharePoint Portal Server 2003
945934  (http://kbalertz.com/Feedback.aspx?kbNumber=945934/ ) How to register Microsoft Filter Pack IFilters with SQL Server 2005 and with SQL Server 2008
To configure the SharePoint document libraries to display the correct icon and to display the Edit in Microsoft ProgramName option, follow these steps:

Note The following procedure shows you how to display the appropriate icon for Microsoft Office Word 2007 documents (.docx). Use the same procedure to display the appropriate icon for Microsoft Office Excel 2007 files (.xlsx) and for Microsoft Office PowerPoint 2007 files (.pptx).
  1. Start Windows Explorer, and then locate the following folder:
    Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\Xml
  2. Modify the Docicon.xml file. To do this, follow these steps:
    1. Open the Docicon.xml file.
    2. Locate, and then copy the following line:
      <Mapping Key="doc" Value="icdoc.gif" EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>
    3. Paste the line under the line that you copied, and then modify it so that it reads as follows:
      <Mapping Key="docx" Value="icdoc.gif" EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>
  3. Modify the Htmltransinfo.xml file. To do this, follow these steps:
    1. Locate, and then copy the following line:
      <Mapping Extension="doc" AcceptHeader="application/msword" HandlerUrl="Htmltranslate.aspx" ProgId="SharePoint.OpenDocuments.2"/>
    2. Paste the line under the line that you copied, and then modify it so that it reads as follows:
      <Mapping Extension="docx" AcceptHeader="application/msword" HandlerUrl="" ProgId="SharePoint.OpenDocuments.2"/>
  4. Repeat step 2 and step 3 for each 2007 Office file type that you want. Make sure that you use the appropriate file name extension. For example, do one or both of the following:
    • To add support for .pptx files, modify the line that you add to the Docicon.xml file and the Htmltransinfo.xml file to include Mapping Key="pptx" parameter.
    • To add support for .xlsx files, modify the line that you add to the Docicon.xml file and the Htmltransinfo.xml file to include Mapping Key="xlsx" parameter.
  5. Restart Internet Information Services (IIS). To do this, click Start, click Run, type iisreset, and then click OK.

APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services 2.0, when used with:
    • Microsoft Office Word 2007
    • Microsoft Office Excel 2007
    • Microsoft Office PowerPoint 2007
Keywords: 
kbtshoot kbprb kbconfig kbexpertiseinter KB936909
       

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

Paal Amundsen Report As Irrelevant  
Written: 3/2/2009 5:46 AM
I actually experienced this on MOSS 2007. Following the instructions on this document: http://www.adobe.com/special/acrobat/configuring_pdf_ifilter_for_ms_sharepoint_2007.pdf The error was resolved when I spotted that the element in docicon.xml should be <Mapping Key="pdf" Value="pdf.gif"/> and not <Mapping Key="pdf" Value="pdf.gif">