Export (0) Print
Expand All

How to: Prepare IIS for Deployment of Office Solutions (2007 System)

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • 2007 Microsoft Office system

For more information, see Features Available by Application and Project Type.

Users can install Microsoft Office solutions by opening the deployment manifest from the Web. However, a secured installation of Internet Information Services (IIS) will block the .vsto file name extension. The MIME type must be defined in IIS before you deploy Office solutions by using IIS.

Adding the .vsto MIME type to IIS 6.0

  1. On the server that is running IIS 6.0, click Start, point to All Programs and Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. Click on the computer name, the Web Sites folder, or the web site that you are configuring. Click on Action and choose Properties. Click on the HTTP Headers tab.

  3. Click MIME Types.

  4. In the MIME Types window, click New.

  5. In the MIME Type window, enter .vsto as the extension and application/x-ms-vsto as the MIME type.

  6. Apply the new settings.

    NoteNote:

    You must restart the World Wide Web Publishing Service, or wait for the worker process to recycle for the changes to take effect. Flush the browser's disk cache, and try opening the .vsto file again.

Adding the .vsto MIME type to IIS 7.0

  1. On the server that is running IIS 7.0, click Start, point to All Programs, and then click Accessories.

  2. Right-click Command Prompt, and then click Run as administrator.

  3. In the Open box, type the following path and then click OK.

    %windir%\system32\inetsrv 
    
  4. Type the following command.

    set config /section:staticContent /+[fileExtension='.vsto',mimeType='application/x-ms-vsto']
    
  5. Apply the new settings.

    NoteNote:

    You must restart the World Wide Web Publishing Service, or wait for the worker process to recycle for the changes to take effect. Flush the browser's disk cache, and try opening the .vsto file again.

Community Additions

ADD
Show:
© 2014 Microsoft